glcdsetup: fix indentation

Origin commit data
------------------
Commit: ae77e3f448
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-06-26 (Fri, 26 Jun 2020)

Origin message was:
------------------
- glcdsetup: fix indentation
This commit is contained in:
vanhofen
2020-06-26 11:01:47 +02:00
parent db405c6a44
commit f238d481bb

View File

@@ -225,7 +225,9 @@ bool GLCD_Menu::changeNotify (const neutrino_locale_t OptionName, void *Data)
if (!Data)
return false;
cGLCD *cglcd = cGLCD::getInstance();
switch(OptionName) {
switch(OptionName)
{
case LOCALE_GLCD_SELECT_FG:
case LOCALE_GLCD_SELECT_BG:
case LOCALE_GLCD_SELECT_BAR:
@@ -289,9 +291,18 @@ bool GLCD_Menu::changeNotify (const neutrino_locale_t OptionName, void *Data)
return false;
}
if (OptionName == LOCALE_GLCD_TIME_IN_STANDBY || OptionName == LOCALE_GLCD_BRIGHTNESS_STANDBY || OptionName == LOCALE_GLCD_STANDBY_LED_CLOCK || OptionName == LOCALE_GLCD_STANDBY_LCD_CLOCK
|| OptionName == LOCALE_GLCD_STANDBY_DIGITAL_CLOCK || OptionName == LOCALE_GLCD_STANDBY_DIGITAL_CLOCK || OptionName == LOCALE_GLCD_STANDBY_ANALOG_CLOCK || OptionName == LOCALE_GLCD_STANDBY_WEATHER
|| OptionName == LOCALE_GLCD_DIGITAL_CLOCK_Y_POSITION || OptionName == LOCALE_GLCD_SIZE_SIMPLE_CLOCK || OptionName == LOCALE_GLCD_SIMPLE_CLOCK_Y_POSITION)
if (
OptionName == LOCALE_GLCD_TIME_IN_STANDBY
|| OptionName == LOCALE_GLCD_BRIGHTNESS_STANDBY
|| OptionName == LOCALE_GLCD_STANDBY_LED_CLOCK
|| OptionName == LOCALE_GLCD_STANDBY_LCD_CLOCK
|| OptionName == LOCALE_GLCD_STANDBY_DIGITAL_CLOCK
|| OptionName == LOCALE_GLCD_STANDBY_ANALOG_CLOCK
|| OptionName == LOCALE_GLCD_STANDBY_WEATHER
|| OptionName == LOCALE_GLCD_DIGITAL_CLOCK_Y_POSITION
|| OptionName == LOCALE_GLCD_SIMPLE_CLOCK_Y_POSITION
|| OptionName == LOCALE_GLCD_SIZE_SIMPLE_CLOCK
)
cglcd->StandbyMode(true);
else
cglcd->StandbyMode(false);