debug: disable BMS BLE during LilyGO AP bringup

This commit is contained in:
2026-06-29 23:47:28 -06:00
parent 16ee27944c
commit ad4d529d76
2 changed files with 9 additions and 0 deletions
@@ -30,3 +30,6 @@
// Bring-up safety: serve a tiny root page to avoid AP client/browser heap crashes.
#define LILYGO_BRINGUP_MINIMAL_WEB 1
// LilyGO bring-up isolation: disable BLE/BMS to test WiFi AP stability.
#define BMS_COMPILE_ENABLED 0
@@ -4097,7 +4097,11 @@ void setup() {
initRelays();
initSensors();
#if BMS_COMPILE_ENABLED
initBms();
#else
Serial.println("BMS/BLE disabled for LilyGO bring-up test");
#endif
loadWifiConfig();
loadApConfig();
@@ -4231,7 +4235,9 @@ void loop() {
server.handleClient();
maintainStaWifi();
handleDebugSerial();
#if BMS_COMPILE_ENABLED
updateBms();
#endif
updateAlarms();
#if DASHBOARD_UART_ENABLED
pollDashboardUart();