summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-12-20 02:40:14 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-12-20 02:40:14 -0500
commit18ec1a2aa6f0acc87135569eaa64c11f30648d65 (patch)
treecf138a0494d87f8c7c0ff60fb6774d1bb8e06364
parent83bb89d0b836c2571315362603bc5a51cd3b804a (diff)
downloadrockbox-18ec1a2aa6f0acc87135569eaa64c11f30648d65.tar.gz
rockbox-18ec1a2aa6f0acc87135569eaa64c11f30648d65.zip
[Bug Fix] Credits Plugin don't set the back/foreground on greyscale displays
Change-Id: I2e5a37111dd055932b84962b70ff6c3eace945c7
-rw-r--r--apps/plugins/credits.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/plugins/credits.c b/apps/plugins/credits.c
index 782bc6eb14..86ca0ff4ab 100644
--- a/apps/plugins/credits.c
+++ b/apps/plugins/credits.c
@@ -362,16 +362,11 @@ enum plugin_status plugin_start(const void* parameter)
362 /* Turn off backlight timeout */ 362 /* Turn off backlight timeout */
363 backlight_ignore_timeout(); 363 backlight_ignore_timeout();
364 364
365#if LCD_DEPTH > 1 365#if LCD_DEPTH >= 16
366 rb->lcd_set_foreground (LCD_WHITE); 366 rb->lcd_set_foreground (LCD_WHITE);
367 rb->lcd_set_background (LCD_BLACK); 367 rb->lcd_set_background (LCD_BLACK);
368#endif 368#endif
369#ifdef HAVE_REMOTE_LCD 369
370#if (LCD_REMOTE_DEPTH > 1)
371 rb->lcd_remote_set_foreground (LCD_WHITE);
372 rb->lcd_remote_set_background (LCD_BLACK);
373#endif
374#endif
375 show_logo(); 370 show_logo();
376 371
377 /* Show the logo for about 5 secs allowing the user to stop */ 372 /* Show the logo for about 5 secs allowing the user to stop */