mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
uncrustify libraries/AP_PeriodicProcess/AP_TimerProcess.h
This commit is contained in:
parent
777a9b9d88
commit
c964bdf4ff
@ -12,21 +12,21 @@
|
|||||||
|
|
||||||
class AP_TimerProcess : public AP_PeriodicProcess
|
class AP_TimerProcess : public AP_PeriodicProcess
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AP_TimerProcess(uint8_t period = TIMERPROCESS_PER_DEFAULT);
|
AP_TimerProcess(uint8_t period = TIMERPROCESS_PER_DEFAULT);
|
||||||
void init( Arduino_Mega_ISR_Registry * isr_reg );
|
void init( Arduino_Mega_ISR_Registry * isr_reg );
|
||||||
void register_process(ap_procedure proc);
|
void register_process(ap_procedure proc);
|
||||||
void set_failsafe(ap_procedure proc);
|
void set_failsafe(ap_procedure proc);
|
||||||
void suspend_timer(void);
|
void suspend_timer(void);
|
||||||
void resume_timer(void);
|
void resume_timer(void);
|
||||||
static void run(void);
|
static void run(void);
|
||||||
protected:
|
protected:
|
||||||
static uint8_t _period;
|
static uint8_t _period;
|
||||||
static ap_procedure _proc[AP_TIMERPROCESS_MAX_PROCS];
|
static ap_procedure _proc[AP_TIMERPROCESS_MAX_PROCS];
|
||||||
static ap_procedure _failsafe;
|
static ap_procedure _failsafe;
|
||||||
static uint8_t _pidx;
|
static uint8_t _pidx;
|
||||||
static bool _in_timer_call;
|
static bool _in_timer_call;
|
||||||
static bool _suspended;
|
static bool _suspended;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __AP_TIMERPROCESS_H__
|
#endif // __AP_TIMERPROCESS_H__
|
||||||
|
Loading…
Reference in New Issue
Block a user