diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/misc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c index 549187dd11..65d78beaeb 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -55,6 +55,7 @@ | |||
55 | #include "bmp.h" | 55 | #include "bmp.h" |
56 | #include "icons.h" | 56 | #include "icons.h" |
57 | #endif /* End HAVE_LCD_BITMAP */ | 57 | #endif /* End HAVE_LCD_BITMAP */ |
58 | #include "gui/gwps-common.h" | ||
58 | 59 | ||
59 | /* Format a large-range value for output, using the appropriate unit so that | 60 | /* Format a large-range value for output, using the appropriate unit so that |
60 | * the displayed value is in the range 1 <= display < 1000 (1024 for "binary" | 61 | * the displayed value is in the range 1 <= display < 1000 (1024 for "binary" |
@@ -503,6 +504,9 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter) | |||
503 | 504 | ||
504 | gui_syncsplash(0, true, str(LANG_SHUTTINGDOWN)); | 505 | gui_syncsplash(0, true, str(LANG_SHUTTINGDOWN)); |
505 | 506 | ||
507 | if (global_settings.fade_on_stop) | ||
508 | fade(0); | ||
509 | |||
506 | audio_stop(); | 510 | audio_stop(); |
507 | while (audio_status()) | 511 | while (audio_status()) |
508 | sleep(1); | 512 | sleep(1); |