Browse Source

AP_HAL_SITL: implement in_main_thread

master
Peter Barker 7 years ago committed by Andrew Tridgell
parent
commit
0f54cc9b22
  1. 1
      libraries/AP_HAL_SITL/Scheduler.h

1
libraries/AP_HAL_SITL/Scheduler.h

@ -29,6 +29,7 @@ public: @@ -29,6 +29,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…
Cancel
Save