Remove debugging statement
This commit is contained in:
@ -14,7 +14,6 @@ bool mgos_barometer_mpl3115_detect(struct mgos_barometer *dev) {
|
|||||||
if ((val = mgos_i2c_read_reg_b(dev->i2c, dev->i2caddr, MPL3115_REG_WHOAMI)) < 0) {
|
if ((val = mgos_i2c_read_reg_b(dev->i2c, dev->i2caddr, MPL3115_REG_WHOAMI)) < 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
LOG(LL_DEBUG, ("whoami=0x%02x", val));
|
|
||||||
|
|
||||||
if (val != 0xC4) {
|
if (val != 0xC4) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user