summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 155027b1bf..b5c1dc28b9 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -556,6 +556,7 @@ bool settings_parseline(char* line, char** name, char** value)
556static void system_flush(void) 556static void system_flush(void)
557{ 557{
558 tree_flush(); 558 tree_flush();
559 settings_save();
559 call_ata_idle_notifys(true); /*doesnt work on usb and shutdown from ata thread */ 560 call_ata_idle_notifys(true); /*doesnt work on usb and shutdown from ata thread */
560} 561}
561 562
@@ -569,6 +570,7 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
569#ifdef SIMULATOR 570#ifdef SIMULATOR
570 (void)callback; 571 (void)callback;
571 (void)parameter; 572 (void)parameter;
573 settings_save();
572 call_ata_idle_notifys(true); 574 call_ata_idle_notifys(true);
573 exit(0); 575 exit(0);
574#else 576#else