AP_HAL_VRBRAIN: remove pointless attach_interrupt override

This commit is contained in:
Peter Barker 2018-08-21 21:40:35 +10:00 committed by Peter Barker
parent e7e2a78d35
commit 9569abe57a
2 changed files with 0 additions and 13 deletions

View File

@ -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
*/

View File

@ -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;