AP_HAL_SITL: implement in_main_thread

This commit is contained in:
Peter Barker 2017-09-18 11:51:44 +10:00 committed by Andrew Tridgell
parent 844bcf33c9
commit 2d684cd9e8

View File

@ -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);