From 7a0f95c11c0782532c2626f19d257ecc732459eb Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Thu, 10 Jan 2013 13:50:11 -0800 Subject: [PATCH] AP_HAL: add Scheduler methods in_timerprocess, system_initialize --- libraries/AP_HAL/Scheduler.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_HAL/Scheduler.h b/libraries/AP_HAL/Scheduler.h index 883263336d..d4057f529a 100644 --- a/libraries/AP_HAL/Scheduler.h +++ b/libraries/AP_HAL/Scheduler.h @@ -21,10 +21,15 @@ public: virtual void register_timer_process(AP_HAL::TimedProc) = 0; virtual void suspend_timer_procs() = 0; virtual void resume_timer_procs() = 0; + + virtual bool in_timerprocess() = 0; virtual void register_timer_failsafe(AP_HAL::TimedProc, 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 reboot() = 0; };