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