Browse Source

AP_HAL_PX4: remove unused var

mission-4.1.18
Tom Pittenger 10 years ago committed by Randy Mackay
parent
commit
072d35b9cc
  1. 1
      libraries/AP_HAL_PX4/GPIO.cpp

1
libraries/AP_HAL_PX4/GPIO.cpp

@ -252,7 +252,6 @@ bool PX4GPIO::attach_interrupt(uint8_t interrupt_num, AP_HAL::Proc p, uint8_t mo @@ -252,7 +252,6 @@ bool PX4GPIO::attach_interrupt(uint8_t interrupt_num, AP_HAL::Proc p, uint8_t mo
*/
bool PX4GPIO::usb_connected(void)
{
struct stat st;
/*
we use a combination of voltage on the USB connector and the
open of the /dev/ttyACM0 character device. This copes with

Loading…
Cancel
Save