Show pressure with BMP180/BME280 (issue 519)

This commit is contained in:
Verkehrsrot committed 2020-01-02 15:44:09 +01:00
1 parent 2e76ae89f2
commit 1414ebd421
1 file changed
+4 -1
+4 -1
View File
@@ -343,7 +343,10 @@ void draw_page(time_t t, uint8_t page) {
#ifdef HAS_BME680
// line 6-7: IAQ
dp_printf(0, 6, FONT_STRETCHED, 0, "IAQ:%-3.0f", bme_status.iaq);
#endif
#else // is BME280 or BMP180
// line 6-7: Pre
dp_printf(0, 6, FONT_STRETCHED, 0, "PRE:%-2.1f", bme_status.pressure);
#endif // HAS_BME
#else
dp_printf(16, 5, FONT_STRETCHED, 1, "No BME");