summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/rolo.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index c206bca589..a8ea1cdf5e 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -286,6 +286,12 @@ int rolo_load(const char* filename)
286 return -1; 286 return -1;
287 } 287 }
288 288
289#ifdef HAVE_STORAGE_FLUSH
290 lcd_puts(0, 1, "Flushing storage buffers");
291 lcd_update();
292 storage_flush();
293#endif
294
289 lcd_puts(0, 1, "Executing"); 295 lcd_puts(0, 1, "Executing");
290 lcd_update(); 296 lcd_update();
291#ifdef HAVE_REMOTE_LCD 297#ifdef HAVE_REMOTE_LCD
@@ -293,9 +299,6 @@ int rolo_load(const char* filename)
293 lcd_remote_update(); 299 lcd_remote_update();
294#endif 300#endif
295 adc_close(); 301 adc_close();
296#ifdef HAVE_STORAGE_FLUSH
297 storage_flush();
298#endif
299 302
300#ifdef CPU_ARM 303#ifdef CPU_ARM
301 /* Should do these together since some ARM version should never have 304 /* Should do these together since some ARM version should never have
@@ -348,13 +351,15 @@ int rolo_load(const char* filename)
348 return -1; 351 return -1;
349 } 352 }
350 353
351 lcd_puts(0, 1, "Executing ");
352 lcd_update();
353
354#ifdef HAVE_STORAGE_FLUSH 354#ifdef HAVE_STORAGE_FLUSH
355 lcd_puts(0, 1, "Flushing ");
356 lcd_update();
355 storage_flush(); 357 storage_flush();
356#endif 358#endif
357 359
360 lcd_puts(0, 1, "Executing ");
361 lcd_update();
362
358 set_irq_level(HIGHEST_IRQ_LEVEL); 363 set_irq_level(HIGHEST_IRQ_LEVEL);
359 364
360 /* Calling these 2 initialization routines was necessary to get the 365 /* Calling these 2 initialization routines was necessary to get the