old-commit-hash: 16c36b0d8b
16c36b0d8b
@ -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);
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) {