on format display help message and enter MSC

This commit is contained in:
schneider 2011-12-17 22:39:01 +01:00
parent 2876766a87
commit db6a4166f8
1 changed files with 7 additions and 4 deletions

View File

@ -28,14 +28,17 @@ void fsInit(){
i = f_opendir(&dir, "0:"); i = f_opendir(&dir, "0:");
if( i == FR_NO_FILESYSTEM ){ if( i == FR_NO_FILESYSTEM ){
lcdPrintln("Could not mount"); lcdPrintln("filesystm b0rk");
lcdPrintln("filesystem.");
lcdPrintln("Formating..."); lcdPrintln("Formating...");
lcdRefresh(); lcdRefresh();
format_formatDF(); format_formatDF();
lcdPrintln("done"); lcdPrintln("Done.");
lcdPrintln("Please reboot"); lcdPrintln("Now copy files");
lcdPrintln("to drive. See");
lcdPrintln("");
lcdPrintln("r0ket.de/init");
lcdRefresh(); lcdRefresh();
usbMSCInit();
while(1); while(1);
} }
}; };