AP_HAL_Linux: allow stop_clock in examples
This commit is contained in:
parent
1132555c1b
commit
c58404beac
@ -325,7 +325,7 @@ void Scheduler::reboot(bool hold_in_bootloader)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
#if APM_BUILD_TYPE(APM_BUILD_Replay)
|
||||
#if APM_BUILD_TYPE(APM_BUILD_Replay) || APM_BUILD_TYPE(APM_BUILD_UNKNOWN)
|
||||
void Scheduler::stop_clock(uint64_t time_usec)
|
||||
{
|
||||
if (time_usec < _stopped_clock_usec) {
|
||||
|
Loading…
Reference in New Issue
Block a user