Remove debugging statement

This commit is contained in:
Pim van Pelt
2018-04-22 10:21:41 +02:00
parent 4a89c9540b
commit 498d2d8e03

View File

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