mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: define base-class attach_interrupt to return false
This commit is contained in:
parent
4543604085
commit
fcacdb42bb
@ -49,7 +49,9 @@ public:
|
||||
FUNCTOR_TYPEDEF(irq_handler_fn_t, void, uint8_t, bool, uint32_t);
|
||||
virtual bool attach_interrupt(uint8_t pin,
|
||||
irq_handler_fn_t fn,
|
||||
INTERRUPT_TRIGGER_TYPE mode) = 0;
|
||||
INTERRUPT_TRIGGER_TYPE mode) {
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual bool attach_interrupt(uint8_t pin,
|
||||
AP_HAL::Proc proc,
|
||||
|
Loading…
Reference in New Issue
Block a user