debug: reduce LilyGO loop while preserving UART hook

This commit is contained in:
2026-06-30 00:15:05 -06:00
parent 03cf5e1547
commit 60bf141d53
@@ -4277,22 +4277,9 @@ void setup() {
void loop() { void loop() {
server.handleClient(); server.handleClient();
maintainStaWifi();
handleDebugSerial();
#if BMS_COMPILE_ENABLED
updateBms();
#endif
updateAlarms();
#if DASHBOARD_UART_ENABLED #if DASHBOARD_UART_ENABLED
pollDashboardUart(); pollDashboardUart();
#endif #endif
oledLoop(); delay(2);
static unsigned long lastSensorUpdate = 0;
if (millis() - lastSensorUpdate > 5000) {
updateSensors();
lastSensorUpdate = millis();
logDebug("Sensor Update");
}
} }