- glcdthemes: fix default glcd_foreground_color

This commit is contained in:
max_10
2020-07-16 23:09:31 +02:00
committed by Thilo Graf
parent c18f0e67de
commit 1cb373afeb

View File

@@ -357,9 +357,9 @@ void CGLCDThemes::setTheme(CConfigFile &configfile)
void CGLCDThemes::getTheme(CConfigFile &configfile)
{
t.glcd_foreground_color_red = configfile.getInt32("glcd_foreground_color_red", 0xff);
t.glcd_foreground_color_green = configfile.getInt32("glcd_foreground_color_green", 0xff);
t.glcd_foreground_color_blue = configfile.getInt32("glcd_foreground_color_blue", 0xff);
t.glcd_foreground_color_red = configfile.getInt32("glcd_foreground_color_red", 0x64);
t.glcd_foreground_color_green = configfile.getInt32("glcd_foreground_color_green", 0x64);
t.glcd_foreground_color_blue = configfile.getInt32("glcd_foreground_color_blue", 0x64);
t.glcd_background_color_red = configfile.getInt32("glcd_background_color_red", 0x00);
t.glcd_background_color_green = configfile.getInt32("glcd_background_color_green", 0x00);
t.glcd_background_color_blue = configfile.getInt32("glcd_background_color_blue", 0x00);