mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_HAL_SITL: implement in_main_thread
This commit is contained in:
parent
844bcf33c9
commit
2d684cd9e8
@ -31,6 +31,7 @@ public:
|
||||
|
||||
void register_timer_failsafe(AP_HAL::Proc, uint32_t period_us);
|
||||
|
||||
bool in_main_thread() const override { return !_in_timer_proc && !_in_io_proc; };
|
||||
void system_initialized();
|
||||
|
||||
void reboot(bool hold_in_bootloader);
|
||||
|
Loading…
Reference in New Issue
Block a user