|
|
|
@ -26,7 +26,13 @@ public:
@@ -26,7 +26,13 @@ public:
|
|
|
|
|
void suspend_timer_procs(); |
|
|
|
|
void resume_timer_procs(); |
|
|
|
|
|
|
|
|
|
bool in_timerprocess(); |
|
|
|
|
|
|
|
|
|
void register_timer_failsafe(AP_HAL::TimedProc, uint32_t period_us); |
|
|
|
|
|
|
|
|
|
bool system_initializing(); |
|
|
|
|
void system_initialized(); |
|
|
|
|
|
|
|
|
|
void reboot(); |
|
|
|
|
void panic(const prog_char_t *errormsg); |
|
|
|
|
|
|
|
|
@ -54,6 +60,8 @@ private:
@@ -54,6 +60,8 @@ private:
|
|
|
|
|
static uint8_t _num_timer_procs; |
|
|
|
|
static bool _in_timer_proc; |
|
|
|
|
|
|
|
|
|
bool _initialized; |
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|
#endif |
|
|
|
|
#endif // __AP_HAL_SITL_SCHEDULER_H__
|
|
|
|
|