AP_Compass: remove expected error

this happens with AK09916 probing on invensense sensor
This commit is contained in:
Andrew Tridgell 2019-10-30 15:21:07 +11:00
parent a08443ff19
commit 1fe146c409

View File

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