Merge pull request #206 from airgradienthq/hotfix/display-show-nox-incorrect-position

`NOx` show incorrect position on display
This commit is contained in:
AirGradient
2024-08-12 09:20:21 +07:00
committed by GitHub

View File

@ -338,7 +338,7 @@ void OledDisplay::showDashboard(const char *status) {
DISP()->drawStr(100, 39, strBuf);
/** Draw NOx label */
DISP()->drawStr(85, 53, "NOx:");
DISP()->drawStr(100, 53, "NOx:");
if (utils::isValidNOx(value.NOx)) {
sprintf(strBuf, "%d", value.NOx);
} else {