Don't update pot warnings when not applicable

This commit is contained in:
Andre Bernet
2014-02-09 20:19:15 +01:00
parent 6560c99445
commit 30d13baeab
+4 -1
View File
@@ -563,7 +563,10 @@ void Setup::update()
updateBeepCenter();
updateStartupSwitches();
updatePotWarnings();
if(IS_TARANIS(GetEepromInterface()->getBoard())) {
updatePotWarnings();
}
for (int i=0; i<C9X_MAX_TIMERS; i++)
timers[i]->update();