mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-22 21:17:16 +02:00
fix compile failed.
This commit is contained in:
@ -577,7 +577,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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user