AP_HAL_PX4: remove unused var

This commit is contained in:
Tom Pittenger 2015-08-24 00:10:22 -07:00 committed by Randy Mackay
parent 39dae7a156
commit 072d35b9cc

View File

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