From 86073fbafc42f770e2eb76105e25d51cf8cfcb8a Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Thu, 12 Dec 2024 15:51:31 -0500 Subject: [PATCH] wip --- i2c_qmp6988.h | 4 ++-- i2c_sht30.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/i2c_qmp6988.h b/i2c_qmp6988.h index 3bc0f9c..cb9cd77 100644 --- a/i2c_qmp6988.h +++ b/i2c_qmp6988.h @@ -13,8 +13,8 @@ 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.cTemp()); // C - gen_nmea0183_xdr("$BBXDR,P,%.2f,P,PRES_QMP6988", i2c_qmp6988_sensor.pressure()); // Pa + gen_nmea0183_xdr("$BBXDR,C,%.2f,C,TEMP_QMP6988", i2c_qmp6988_sensor.temperature()); // 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 dbeee42..238b81d 100644 --- a/i2c_sht30.h +++ b/i2c_sht30.h @@ -13,8 +13,8 @@ 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.cTemp()); // C + 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 } }