Fix compile failed.

This commit is contained in:
Phat Nguyen
2024-08-26 15:54:41 +07:00
parent 17238cff86
commit 1afcca25a1

View File

@ -525,7 +525,7 @@ static void updatePm(void) {
}
if(ag.pms5003.getFailCount() >= ag.pms5003.getFailCountMax()) {
Serial.printf("PMS failure count reach to max set %d, restarting...", ag->pms5003.getFailCountMax());
Serial.printf("PMS failure count reach to max set %d, restarting...", ag.pms5003.getFailCountMax());
ESP.restart();
}
}