[Bug Fix] Credits Plugin don't set the back/foreground on greyscale displays

Change-Id: I2e5a37111dd055932b84962b70ff6c3eace945c7
This commit is contained in:
William Wilgus 2022-12-20 02:40:14 -05:00
parent 83bb89d0b8
commit 18ec1a2aa6

View file

@ -362,16 +362,11 @@ enum plugin_status plugin_start(const void* parameter)
/* Turn off backlight timeout */ /* Turn off backlight timeout */
backlight_ignore_timeout(); backlight_ignore_timeout();
#if LCD_DEPTH > 1 #if LCD_DEPTH >= 16
rb->lcd_set_foreground (LCD_WHITE); rb->lcd_set_foreground (LCD_WHITE);
rb->lcd_set_background (LCD_BLACK); rb->lcd_set_background (LCD_BLACK);
#endif #endif
#ifdef HAVE_REMOTE_LCD
#if (LCD_REMOTE_DEPTH > 1)
rb->lcd_remote_set_foreground (LCD_WHITE);
rb->lcd_remote_set_background (LCD_BLACK);
#endif
#endif
show_logo(); show_logo();
/* Show the logo for about 5 secs allowing the user to stop */ /* Show the logo for about 5 secs allowing the user to stop */