diff options
| -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 549187d..65d78be 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -55,6 +55,7 @@ #include "bmp.h" #include "icons.h" #endif /* End HAVE_LCD_BITMAP */ +#include "gui/gwps-common.h" /* Format a large-range value for output, using the appropriate unit so that * 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) gui_syncsplash(0, true, str(LANG_SHUTTINGDOWN)); + if (global_settings.fade_on_stop) + fade(0); + audio_stop(); while (audio_status()) sleep(1); |