diff options
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/screens.c b/apps/screens.c index a51d83fed3..19afe44baa 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -855,8 +855,12 @@ void splash(int ticks, /* how long the splash is displayed */ | |||
855 | int xx = (LCD_WIDTH-maxw)/2 - 2; | 855 | int xx = (LCD_WIDTH-maxw)/2 - 2; |
856 | /* The new graphics routines handle clipping, so no need to check */ | 856 | /* The new graphics routines handle clipping, so no need to check */ |
857 | #if LCD_DEPTH > 1 | 857 | #if LCD_DEPTH > 1 |
858 | #ifdef HAVE_LCD_COLOR | ||
859 | lcd_set_background((struct rgb){LCD_MAX_RED-1, LCD_MAX_GREEN-1, LCD_MAX_BLUE-1}); | ||
860 | #else | ||
858 | lcd_set_background(LCD_MAX_LEVEL-1); | 861 | lcd_set_background(LCD_MAX_LEVEL-1); |
859 | #endif | 862 | #endif |
863 | #endif | ||
860 | lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); | 864 | lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); |
861 | lcd_fillrect(xx, y-2, maxw+4, LCD_HEIGHT-y*2+4); | 865 | lcd_fillrect(xx, y-2, maxw+4, LCD_HEIGHT-y*2+4); |
862 | lcd_set_drawmode(DRMODE_SOLID); | 866 | lcd_set_drawmode(DRMODE_SOLID); |
@@ -903,7 +907,7 @@ void splash(int ticks, /* how long the splash is displayed */ | |||
903 | next = strtok_r(NULL, " ", &store); | 907 | next = strtok_r(NULL, " ", &store); |
904 | } | 908 | } |
905 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) | 909 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
906 | lcd_set_background(LCD_MAX_LEVEL); | 910 | lcd_set_background(LCD_WHITE); |
907 | #endif | 911 | #endif |
908 | lcd_update(); | 912 | lcd_update(); |
909 | 913 | ||