mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 17:13:35 +08:00
fxos8701cq + fxas21002c: add support for I2C
This commit is contained in:
@@ -63,7 +63,7 @@ BMP280::init()
|
||||
|
||||
// check id
|
||||
if (_interface->get_reg(BMP280_ADDR_ID) != BMP280_VALUE_ID) {
|
||||
PX4_WARN("id of your baro is not: 0x%02x", BMP280_VALUE_ID);
|
||||
PX4_DEBUG("id of your baro is not: 0x%02x", BMP280_VALUE_ID);
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user