diff options
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_settings.c')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_settings.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c index de667ec782..3452903b47 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.c +++ b/apps/plugins/mpegplayer/mpeg_settings.c | |||
@@ -604,7 +604,7 @@ static int get_start_time(uint32_t duration) | |||
604 | lcd_(update)(); | 604 | lcd_(update)(); |
605 | 605 | ||
606 | #if defined(HAVE_LCD_ENABLE) && defined(HAVE_LCD_COLOR) | 606 | #if defined(HAVE_LCD_ENABLE) && defined(HAVE_LCD_COLOR) |
607 | rb->lcd_set_enable_hook(get_start_time_lcd_enable_hook); | 607 | rb->lcd_activation_set_hook(get_start_time_lcd_enable_hook); |
608 | #endif | 608 | #endif |
609 | 609 | ||
610 | draw_slider(0, 100, &rc_bound); | 610 | draw_slider(0, 100, &rc_bound); |
@@ -794,11 +794,10 @@ static int get_start_time(uint32_t duration) | |||
794 | rb->yield(); | 794 | rb->yield(); |
795 | } | 795 | } |
796 | 796 | ||
797 | #ifdef HAVE_LCD_COLOR | 797 | #if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) |
798 | #ifdef HAVE_LCD_ENABLE | 798 | rb->lcd_activation_set_hook(NULL); |
799 | rb->lcd_set_enable_hook(NULL); | ||
800 | #endif | 799 | #endif |
801 | #else | 800 | #ifndef HAVE_LCD_COLOR |
802 | stream_gray_show(false); | 801 | stream_gray_show(false); |
803 | grey_clear_display(); | 802 | grey_clear_display(); |
804 | grey_update(); | 803 | grey_update(); |