summaryrefslogtreecommitdiffstats
path: root/apps/gui/splash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/splash.c')
-rw-r--r--apps/gui/splash.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c
index 1f04b89fc0..30909217b2 100644
--- a/apps/gui/splash.c
+++ b/apps/gui/splash.c
@@ -137,7 +137,8 @@ static void splash(struct screen * screen, bool center,
{
prevfg = screen->get_foreground();
screen->set_drawmode(DRMODE_FG);
- screen->set_foreground(LCD_LIGHTGRAY);
+ screen->set_foreground(
+ SCREEN_COLOR_TO_NATIVE(screen, LCD_LIGHTGRAY));
}
else
#endif
@@ -147,7 +148,8 @@ static void splash(struct screen * screen, bool center,
#if LCD_DEPTH > 1
if (screen->depth > 1)
- screen->set_foreground(LCD_BLACK);
+ screen->set_foreground(
+ SCREEN_COLOR_TO_NATIVE(screen, LCD_BLACK));
else
#endif
screen->set_drawmode(DRMODE_SOLID);