From 8417db30bcee2ef2da0ba032d5054c78af5e8789 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Thu, 12 Dec 2024 16:29:43 -0500 Subject: [PATCH] wip --- i2c_qmp6988.h | 2 +- i2c_sht30.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i2c_qmp6988.h b/i2c_qmp6988.h index f9fae28..031db99 100644 --- a/i2c_qmp6988.h +++ b/i2c_qmp6988.h @@ -16,7 +16,7 @@ bool i2c_qmp6988_found = false; void i2c_qmp6988_report() { if (i2c_qmp6988_sensor.updated()) { - gen_nmea0183_xdr("$BBXDR,C,%.2f,C,TEMP_QMP6988", i2c_qmp6988_sensor.temperature()); // C + gen_nmea0183_xdr("$BBXDR,C,%.2f,C,TEMP_QMP6988", i2c_qmp6988_sensor.celsius()); // C gen_nmea0183_xdr("$BBXDR,P,%.2f,P,PRES_QMP6988", i2c_qmp6988_sensor.pressure()); // Pa } } diff --git a/i2c_sht30.h b/i2c_sht30.h index bf075ba..688f332 100644 --- a/i2c_sht30.h +++ b/i2c_sht30.h @@ -16,7 +16,7 @@ bool i2c_sht30_found = false; void i2c_sht30_report() { if (i2c_sht30_sensor.updated()) { gen_nmea0183_xdr("$BBXDR,H,%.2f,P,HUMI_SHT3X", i2c_sht30_sensor.humidity()); // % - gen_nmea0183_xdr("$BBXDR,C,%.2f,C,TEMP_SHT3X", i2c_sht30_sensor.temperature()); // C + gen_nmea0183_xdr("$BBXDR,C,%.2f,C,TEMP_SHT3X", i2c_sht30_sensor.celsius()); // C } }