Fixed debug output in dmp280 sensor code and removed unused function.
This commit is contained in:
parent
bcda387d26
commit
e699c8b37b
1 changed files with 4 additions and 9 deletions
|
@ -21,10 +21,10 @@ bool sensor_bmp280_begin(uint8_t addr)
|
||||||
} else {
|
} else {
|
||||||
debug("Could not find a valid BMP280 sensor, check wiring or try a different address!");
|
debug("Could not find a valid BMP280 sensor, check wiring or try a different address!");
|
||||||
debug("SensorID was: " + String(_sensor_bmp280.sensorID()));
|
debug("SensorID was: " + String(_sensor_bmp280.sensorID()));
|
||||||
debug(" ID of 0xFF probably means a bad address, a BMP 180 or BMP 085\n");
|
debug(" ID of 0xFF probably means a bad address, a BMP180 or BMP085");
|
||||||
debug(" ID of 0x56-0x58 represents a BMP 280,\n");
|
debug(" ID of 0x56-0x58 represents a BMP280,");
|
||||||
debug(" ID of 0x60 represents a BME 280.\n");
|
debug(" ID of 0x60 represents a BME280,");
|
||||||
debug(" ID of 0x61 represents a BME 680.\n");
|
debug(" ID of 0x61 represents a BME680.");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,8 +44,3 @@ float bmp280_pressure()
|
||||||
_sensor_bmp280_pressure->getEvent(&pressure_event);
|
_sensor_bmp280_pressure->getEvent(&pressure_event);
|
||||||
return pressure_event.pressure;
|
return pressure_event.pressure;
|
||||||
}
|
}
|
||||||
|
|
||||||
float bmp280_humidity()
|
|
||||||
{
|
|
||||||
return 0 * HUMIDITY_FACTOR;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue