mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
uncrustify libraries/AP_PeriodicProcess/PeriodicProcess.h
This commit is contained in:
parent
ded021fa11
commit
d952af79cc
@ -6,16 +6,16 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
// the callback type for periodic processes. They are passed the time
|
// the callback type for periodic processes. They are passed the time
|
||||||
// in microseconds since boot
|
// in microseconds since boot
|
||||||
typedef void (*ap_procedure)(uint32_t );
|
typedef void (*ap_procedure)(uint32_t );
|
||||||
|
|
||||||
class AP_PeriodicProcess
|
class AP_PeriodicProcess
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual void register_process(ap_procedure proc) = 0;
|
virtual void register_process(ap_procedure proc) = 0;
|
||||||
virtual void set_failsafe(ap_procedure proc) = 0;
|
virtual void set_failsafe(ap_procedure proc) = 0;
|
||||||
virtual void suspend_timer(void) = 0;
|
virtual void suspend_timer(void) = 0;
|
||||||
virtual void resume_timer(void) = 0;
|
virtual void resume_timer(void) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __PERIODICPROCESS_H__
|
#endif // __PERIODICPROCESS_H__
|
||||||
|
Loading…
Reference in New Issue
Block a user