altos: Increase SD card timeout at startup time
[fw/altos] / src / drivers / ao_fat.c
index bb0aa7a221e40e9f0ebfda422603e3d740606611..3e9c00b5e32e8f9fa80122d713b19749c9054976 100644 (file)
@@ -608,6 +608,12 @@ ao_fat_setup(void)
        return ao_filesystem_status;
 }
 
+void
+ao_fat_unmount(void)
+{
+       ao_filesystem_setup = 0;
+}
+
 /*
  * Basic file operations
  */
@@ -1257,6 +1263,8 @@ ao_fat_parse_name(char name[11])
                }
                ao_cmd_lex();
        }
+       while (c < 11)
+               name[c++] = ' ';
 }
 
 static void