diff --git a/src/open9x.cpp b/src/open9x.cpp index 01cddef15..9e29a0ccf 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -849,6 +849,11 @@ void checkBacklight() BACKLIGHT_OFF; } +void backlightOn() +{ + g_LightOffCounter = ((uint16_t)g_eeGeneral.lightAutoOff*250) << 1; +} + #ifdef SPLASH #ifdef DSM2 @@ -857,11 +862,6 @@ void checkBacklight() #define SPLASH_NEEDED() (!g_eeGeneral.disableSplashScreen) #endif -void backlightOn() -{ - g_LightOffCounter = ((uint16_t)g_eeGeneral.lightAutoOff*250) << 1; -} - void doSplash() { if (SPLASH_NEEDED()) {