mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-29 16:37:17 +02:00
Fix compile failed.
This commit is contained in:
@ -525,7 +525,7 @@ static void updatePm(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(ag.pms5003.getFailCount() >= ag.pms5003.getFailCountMax()) {
|
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();
|
ESP.restart();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user