AP_Compass: removed annoying startup messages

these happen due to sensor probing for older configs
This commit is contained in:
Andrew Tridgell 2020-02-05 12:47:24 +11:00 committed by WickedShell
parent a2322a828c
commit 521cf4d6a1
3 changed files with 0 additions and 3 deletions

View File

@ -201,7 +201,6 @@ bool AP_Compass_AK09916::init()
}
if (!_reset()) {
hal.console->printf("AK09916: Reset Failed\n");
goto fail;
}

View File

@ -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();

View File

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