mirror of https://github.com/ArduPilot/ardupilot
uncrustify libraries/Arduino_Mega_ISR_Registry/Arduino_Mega_ISR_Registry.h
This commit is contained in:
parent
dd3201e050
commit
36a3fad796
|
@ -11,12 +11,12 @@ typedef void (*proc_ptr)(void);
|
|||
|
||||
class Arduino_Mega_ISR_Registry
|
||||
{
|
||||
public:
|
||||
void init();
|
||||
int register_signal(int isr_number, proc_ptr proc);
|
||||
int unregister_signal(int isr_number);
|
||||
public:
|
||||
void init();
|
||||
int register_signal(int isr_number, proc_ptr proc);
|
||||
int unregister_signal(int isr_number);
|
||||
|
||||
static proc_ptr _registry[ISR_REGISTRY_NUM_SLOTS];
|
||||
static proc_ptr _registry[ISR_REGISTRY_NUM_SLOTS];
|
||||
};
|
||||
|
||||
#endif // __ARDUINO_MEGA_ISR_REGISTRY_H__
|
||||
|
|
Loading…
Reference in New Issue