diff options
| -rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 42e0ddd..6d6aa20 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c @@ -1598,6 +1598,12 @@ static void button_loop(void) wvs_stop(); +#ifdef HAVE_LCD_ENABLE + /* Be sure hook is removed before exiting since the stop will put it + * back because of the backlight restore. */ + rb->lcd_set_enable_hook(NULL); +#endif + rb->lcd_setfont(FONT_UI); } |