debug: add sensor updates to LilyGO isolation loop
This commit is contained in:
@@ -4346,6 +4346,12 @@ void loop() {
|
|||||||
|
|
||||||
maintainStaWifi();
|
maintainStaWifi();
|
||||||
|
|
||||||
|
if (millis() - lastSensorUpdate > SENSOR_INTERVAL) {
|
||||||
|
updateSensors();
|
||||||
|
lastSensorUpdate = millis();
|
||||||
|
logDebug("Sensor Update");
|
||||||
|
}
|
||||||
|
|
||||||
if (millis() > 30000) {
|
if (millis() > 30000) {
|
||||||
updateBms();
|
updateBms();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user