Refactoring continued: Try to run lua scripts before the first LCD function

This commit is contained in:
Damjan Adamic
2014-12-06 15:36:10 +01:00
parent fac8571c29
commit 8aeb35c912
10 changed files with 371 additions and 190 deletions
+2 -2
View File
@@ -2136,7 +2136,7 @@ uint8_t getSticksNavigationEvent()
}
#endif
void batteryCheck()
void checkBattery()
{
static uint8_t counter = 0;
if (g_menuStack[g_menuStackPtr] == menuGeneralDiagAna) {
@@ -2327,7 +2327,7 @@ void perMain()
JACK_PPM_IN();
}
batteryCheck();
checkBattery();
}
#endif // #if !defined(CPUARM)