mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Compass: remove expected error
this happens with AK09916 probing on invensense sensor
This commit is contained in:
parent
a08443ff19
commit
1fe146c409
@ -193,7 +193,6 @@ bool AP_Compass_AK09916::init()
|
|||||||
AP_HAL::Semaphore *bus_sem = _bus->get_semaphore();
|
AP_HAL::Semaphore *bus_sem = _bus->get_semaphore();
|
||||||
|
|
||||||
if (!bus_sem || !_bus->get_semaphore()->take(HAL_SEMAPHORE_BLOCK_FOREVER)) {
|
if (!bus_sem || !_bus->get_semaphore()->take(HAL_SEMAPHORE_BLOCK_FOREVER)) {
|
||||||
hal.console->printf("AK09916: Unable to get bus semaphore\n");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user