From 9573976c7ace441baa61e329f7678413b655f159 Mon Sep 17 00:00:00 2001 From: bsongis Date: Fri, 6 Jul 2012 14:32:13 +0000 Subject: [PATCH] simu compilation broken --- src/open9x.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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()) {