Don't update pot warnings when not applicable
This commit is contained in:
@@ -563,7 +563,10 @@ void Setup::update()
|
|||||||
|
|
||||||
updateBeepCenter();
|
updateBeepCenter();
|
||||||
updateStartupSwitches();
|
updateStartupSwitches();
|
||||||
updatePotWarnings();
|
|
||||||
|
if(IS_TARANIS(GetEepromInterface()->getBoard())) {
|
||||||
|
updatePotWarnings();
|
||||||
|
}
|
||||||
|
|
||||||
for (int i=0; i<C9X_MAX_TIMERS; i++)
|
for (int i=0; i<C9X_MAX_TIMERS; i++)
|
||||||
timers[i]->update();
|
timers[i]->update();
|
||||||
|
|||||||
Reference in New Issue
Block a user