Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch committed Dec 12, 2024
1 parent 5d3883a commit 8417db3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion i2c_qmp6988.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down
2 changes: 1 addition & 1 deletion i2c_sht30.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 8417db3

Please sign in to comment.