mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 01:28:29 -04:00
AP_HAL: add Scheduler methods in_timerprocess, system_initialize
This commit is contained in:
parent
6d64bf2921
commit
7a0f95c11c
@ -21,10 +21,15 @@ public:
|
|||||||
virtual void register_timer_process(AP_HAL::TimedProc) = 0;
|
virtual void register_timer_process(AP_HAL::TimedProc) = 0;
|
||||||
virtual void suspend_timer_procs() = 0;
|
virtual void suspend_timer_procs() = 0;
|
||||||
virtual void resume_timer_procs() = 0;
|
virtual void resume_timer_procs() = 0;
|
||||||
|
|
||||||
|
virtual bool in_timerprocess() = 0;
|
||||||
|
|
||||||
virtual void register_timer_failsafe(AP_HAL::TimedProc,
|
virtual void register_timer_failsafe(AP_HAL::TimedProc,
|
||||||
uint32_t period_us) = 0;
|
uint32_t period_us) = 0;
|
||||||
|
|
||||||
|
virtual bool system_initializing() = 0;
|
||||||
|
virtual void system_initialized() = 0;
|
||||||
|
|
||||||
virtual void panic(const prog_char_t *errormsg) = 0;
|
virtual void panic(const prog_char_t *errormsg) = 0;
|
||||||
virtual void reboot() = 0;
|
virtual void reboot() = 0;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user