fix compile failed.

This commit is contained in:
Phat Nguyen
2024-08-26 15:52:31 +07:00
parent 104d58a8c0
commit 17238cff86
2 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,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();
}
}