mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-16 18:22:09 +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()) {
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -620,7 +620,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