mirror of https://github.com/commaai/openpilot.git
sensord: error -> warning for expected failures
old-commit-hash: 16c36b0d8b
This commit is contained in:
parent
caaddfa7b2
commit
7b5d3dbbca
|
@ -78,7 +78,7 @@ int BMX055_Magn::init() {
|
|||
// suspend -> sleep
|
||||
int ret = set_register(BMX055_MAGN_I2C_REG_PWR_0, 0x01);
|
||||
if (ret < 0) {
|
||||
LOGE("Enabling power failed: %d", ret);
|
||||
LOGW("Enabling power failed: %d", ret);
|
||||
goto fail;
|
||||
}
|
||||
util::sleep_for(5); // wait until the chip is powered on
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
uint8_t chip_id = 0;
|
||||
int ret = read_register(address, &chip_id, 1);
|
||||
if (ret < 0) {
|
||||
LOGE("Reading chip ID failed: %d", ret);
|
||||
LOGW("Reading chip ID failed: %d", ret);
|
||||
return -1;
|
||||
}
|
||||
for (int i = 0; i < expected_ids.size(); ++i) {
|
||||
|
|
Loading…
Reference in New Issue