Scheduler.h 561 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "AP_HAL_Empty.h"
  3. class Empty::Scheduler : public AP_HAL::Scheduler {
  4. public:
  5. Scheduler();
  6. void init() override;
  7. void delay(uint16_t ms) override;
  8. void delay_microseconds(uint16_t us) override;
  9. void register_timer_process(AP_HAL::MemberProc) override;
  10. void register_io_process(AP_HAL::MemberProc) override;
  11. void register_timer_failsafe(AP_HAL::Proc, uint32_t period_us) override;
  12. void system_initialized() override;
  13. void reboot(bool hold_in_bootloader) override;
  14. };