ardupilot/libraries/AP_HAL_Empty/Scheduler.h

22 lines
628 B
C
Raw Normal View History

#pragma once
#include "AP_HAL_Empty.h"
class Empty::Scheduler : public AP_HAL::Scheduler {
2012-12-17 15:54:55 -04:00
public:
Scheduler();
void init() override;
void delay(uint16_t ms) override;
void delay_microseconds(uint16_t us) override;
void register_timer_process(AP_HAL::MemberProc) override;
void register_io_process(AP_HAL::MemberProc) override;
2012-12-17 15:54:55 -04:00
void register_timer_failsafe(AP_HAL::Proc, uint32_t period_us) override;
void set_system_initialized() override;
bool is_system_initialized() override { return true; }
void reboot(bool hold_in_bootloader) override;
};