HAL_ChibiOS: disable loop delay on replay
This commit is contained in:
parent
5f669e22ff
commit
ac566763fe
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user