debug: add boot loop crash markers

This commit is contained in:
2026-06-29 23:13:12 -06:00
parent 4cbd2165b2
commit badbcbfee3
@@ -4182,10 +4182,15 @@ void setup() {
} }
void loop() { void loop() {
Serial.println("LOOP: server");
server.handleClient(); server.handleClient();
Serial.println("LOOP: wifi");
maintainStaWifi(); maintainStaWifi();
Serial.println("LOOP: debug");
handleDebugSerial(); handleDebugSerial();
Serial.println("LOOP: bms");
updateBms(); updateBms();
Serial.println("LOOP: alarms");
updateAlarms(); updateAlarms();
#if DASHBOARD_UART_ENABLED #if DASHBOARD_UART_ENABLED
pollDashboardUart(); pollDashboardUart();
@@ -4195,6 +4200,7 @@ void loop() {
static unsigned long lastSensorUpdate = 0; static unsigned long lastSensorUpdate = 0;
if (millis() - lastSensorUpdate > 5000) { if (millis() - lastSensorUpdate > 5000) {
Serial.println("LOOP: sensors");
updateSensors(); updateSensors();
lastSensorUpdate = millis(); lastSensorUpdate = millis();
logDebug("Sensor Update"); logDebug("Sensor Update");