Browse Source

AP_RangeFinder: MaxsonarI2C formatting fixes

mission-4.1.18
Randy Mackay 7 years ago
parent
commit
fd2e5741ce
  1. 2
      libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarI2CXL.cpp

2
libraries/AP_RangeFinder/AP_RangeFinder_MaxsonarI2CXL.cpp

@ -73,7 +73,6 @@ bool AP_RangeFinder_MaxsonarI2CXL::_init(void)
return false; return false;
} }
if (!start_reading()) { if (!start_reading()) {
_dev->get_semaphore()->give(); _dev->get_semaphore()->give();
return false; return false;
@ -139,7 +138,6 @@ void AP_RangeFinder_MaxsonarI2CXL::_timer(void)
} }
} }
/* /*
update the state of the sensor update the state of the sensor
*/ */

Loading…
Cancel
Save