RTOS refactoring + more AVR removal
This commit is contained in:
@@ -138,7 +138,7 @@ bool sportWaitState(SportUpdateState state, int timeout)
|
||||
else if (sportUpdateState == SPORT_FAIL) {
|
||||
return false;
|
||||
}
|
||||
CoTickDelay(1);
|
||||
RTOS_WAIT_TICKS(1);
|
||||
}
|
||||
return false;
|
||||
#endif
|
||||
@@ -313,7 +313,7 @@ void sportFlashDevice(ModuleIndex module, const char * filename)
|
||||
|
||||
/* wait 2s off */
|
||||
watchdogSuspend(2000);
|
||||
CoTickDelay(1000);
|
||||
RTOS_WAIT_MS(2000);
|
||||
#endif
|
||||
|
||||
const char * result = sportUpdatePowerOn(module);
|
||||
|
||||
Reference in New Issue
Block a user