From c964bdf4ffabc69d33dc169fc545c1cc392f3cd3 Mon Sep 17 00:00:00 2001 From: uncrustify Date: Thu, 16 Aug 2012 23:20:55 -0700 Subject: [PATCH] uncrustify libraries/AP_PeriodicProcess/AP_TimerProcess.h --- .../AP_PeriodicProcess/AP_TimerProcess.h | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/libraries/AP_PeriodicProcess/AP_TimerProcess.h b/libraries/AP_PeriodicProcess/AP_TimerProcess.h index 43b94f0857..1755e2abd5 100644 --- a/libraries/AP_PeriodicProcess/AP_TimerProcess.h +++ b/libraries/AP_PeriodicProcess/AP_TimerProcess.h @@ -12,21 +12,21 @@ class AP_TimerProcess : public AP_PeriodicProcess { - public: - AP_TimerProcess(uint8_t period = TIMERPROCESS_PER_DEFAULT); - void init( Arduino_Mega_ISR_Registry * isr_reg ); - void register_process(ap_procedure proc); - void set_failsafe(ap_procedure proc); - void suspend_timer(void); - void resume_timer(void); - static void run(void); - protected: - static uint8_t _period; - static ap_procedure _proc[AP_TIMERPROCESS_MAX_PROCS]; - static ap_procedure _failsafe; - static uint8_t _pidx; - static bool _in_timer_call; - static bool _suspended; +public: + AP_TimerProcess(uint8_t period = TIMERPROCESS_PER_DEFAULT); + void init( Arduino_Mega_ISR_Registry * isr_reg ); + void register_process(ap_procedure proc); + void set_failsafe(ap_procedure proc); + void suspend_timer(void); + void resume_timer(void); + static void run(void); +protected: + static uint8_t _period; + static ap_procedure _proc[AP_TIMERPROCESS_MAX_PROCS]; + static ap_procedure _failsafe; + static uint8_t _pidx; + static bool _in_timer_call; + static bool _suspended; }; #endif // __AP_TIMERPROCESS_H__