summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index dedeea7a43..30d5f0878a 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -141,8 +141,15 @@ void init(void)
141 if ( i==4 ) { 141 if ( i==4 ) {
142 DEBUGF("No partition found, trying to mount sector 0.\n"); 142 DEBUGF("No partition found, trying to mount sector 0.\n");
143 rc = fat_mount(0); 143 rc = fat_mount(0);
144 if(rc) 144 if(rc) {
145 panicf("No FAT32 partition!"); 145 lcd_clear_display();
146 lcd_puts(0,0,"No FAT32");
147 lcd_puts(0,1,"partition!");
148 lcd_update();
149 sleep(HZ);
150 while(1)
151 dbg_partitions();
152 }
146 } 153 }
147 154
148 settings_load(); 155 settings_load();