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 } }