Browse Source

HAL_ChibiOS: disable loop delay on replay

c415-sdk
Andrew Tridgell 4 years ago
parent
commit
ac566763fe
  1. 2
      libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp

2
libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp

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

Loading…
Cancel
Save