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:");
if( i == FR_NO_FILESYSTEM ){
lcdPrintln("Could not mount");
lcdPrintln("filesystem.");
lcdPrintln("filesystm b0rk");
lcdPrintln("Formating...");
lcdRefresh();
format_formatDF();
lcdPrintln("done");
lcdPrintln("Please reboot");
lcdPrintln("Done.");
lcdPrintln("Now copy files");
lcdPrintln("to drive. See");
lcdPrintln("");
lcdPrintln("r0ket.de/init");
lcdRefresh();
usbMSCInit();
while(1);
}
};