AP_HAL_VRBRAIN: remove pointless attach_interrupt override
This commit is contained in:
parent
e7e2a78d35
commit
9569abe57a
@ -172,14 +172,6 @@ AP_HAL::DigitalSource* VRBRAINGPIO::channel(uint16_t n) {
|
||||
return new VRBRAINDigitalSource(0);
|
||||
}
|
||||
|
||||
/* Interrupt interface: */
|
||||
bool VRBRAINGPIO::attach_interrupt(uint8_t interrupt_num,
|
||||
irq_handler_fn_t fn,
|
||||
INTERRUPT_TRIGGER_TYPE mode)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
return true when USB connected
|
||||
*/
|
||||
|
@ -30,11 +30,6 @@ public:
|
||||
/* Alternative interface: */
|
||||
AP_HAL::DigitalSource* channel(uint16_t n) override;
|
||||
|
||||
/* Interrupt interface: */
|
||||
bool attach_interrupt(uint8_t interrupt_num,
|
||||
irq_handler_fn_t fn,
|
||||
INTERRUPT_TRIGGER_TYPE mode) override;
|
||||
|
||||
/* return true if USB cable is connected */
|
||||
bool usb_connected(void) override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user