RTOS refactoring + more AVR removal

This commit is contained in:
Bertrand Songis
2018-08-05 12:06:48 +02:00
parent f60733b561
commit f3bfde242b
80 changed files with 1111 additions and 1054 deletions
+2 -2
View File
@@ -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);