Merge pull request #223 from airgradienthq/hotfix/print-log-wrong-format

Fix print log message number format
This commit is contained in:
AirGradient
2024-09-02 12:11:43 +07:00
committed by GitHub
5 changed files with 42 additions and 26 deletions

View File

@ -118,8 +118,8 @@ String OpenMetrics::getPayload(void) {
atmpCompensated = _temp;
ahumCompensated = _hum;
} else {
atmpCompensated = ag->pms5003t_1.temperatureCompensated(_temp);
ahumCompensated = ag->pms5003t_1.humidityCompensated(_hum);
atmpCompensated = ag->pms5003t_1.compensateTemp(_temp);
ahumCompensated = ag->pms5003t_1.compensateHum(_hum);
}
if (config.hasSensorPMS1 || config.hasSensorPMS2) {