mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: removed annoying startup messages
these happen due to sensor probing for older configs
This commit is contained in:
parent
a2322a828c
commit
521cf4d6a1
|
@ -201,7 +201,6 @@ bool AP_Compass_AK09916::init()
|
|||
}
|
||||
|
||||
if (!_reset()) {
|
||||
hal.console->printf("AK09916: Reset Failed\n");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
|
@ -123,7 +123,6 @@ bool AP_Compass_AK8963::init()
|
|||
AP_HAL::Semaphore *bus_sem = _bus->get_semaphore();
|
||||
|
||||
if (!bus_sem) {
|
||||
hal.console->printf("AK8963: Unable to get bus semaphore\n");
|
||||
return false;
|
||||
}
|
||||
_bus->get_semaphore()->take_blocking();
|
||||
|
|
|
@ -290,7 +290,6 @@ bool AP_Compass_LSM303D::_hardware_init()
|
|||
// Test WHOAMI
|
||||
uint8_t whoami = _register_read(ADDR_WHO_AM_I);
|
||||
if (whoami != WHO_I_AM) {
|
||||
hal.console->printf("LSM303D: unexpected WHOAMI 0x%x\n", (unsigned)whoami);
|
||||
goto fail_whoami;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue