HAL_ChibiOS: disable loop delay on replay

This commit is contained in:
Andrew Tridgell 2020-11-09 14:44:55 +11:00
parent 5f669e22ff
commit ac566763fe

View File

@ -257,7 +257,7 @@ static void main_loop()
time from the main loop, so we don't need to do it again time from the main loop, so we don't need to do it again
here here
*/ */
#ifndef HAL_DISABLE_LOOP_DELAY #if !defined(HAL_DISABLE_LOOP_DELAY) && !APM_BUILD_TYPE(APM_BUILD_Replay)
if (!schedulerInstance.check_called_boost()) { if (!schedulerInstance.check_called_boost()) {
hal.scheduler->delay_microseconds(50); hal.scheduler->delay_microseconds(50);
} }