mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
AP_Compass: remove expected error
this happens with AK09916 probing on invensense sensor
This commit is contained in:
parent
3b244bbc7f
commit
47fe57bd8d
@ -197,7 +197,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)) {
|
||||||
GCS_SEND_TEXT(MAV_SEVERITY_INFO,"AK09916: Unable to get bus semaphore\n");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user