Skip to content

Commit 62ebb27

Browse files
committed
fix crash on OTA start - don't stop bus
1 parent e22015e commit 62ebb27

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,6 @@ void setup() {
343343
wifiServerEnh.begin();
344344
statusServer.begin();
345345

346-
// Stop the Bus when the OTA update starts, because it interferes with the OTA process
347-
ArduinoOTA.onStart([]() {
348-
Bus.end();
349-
});
350346
ArduinoOTA.begin();
351347

352348
MDNS.end();

0 commit comments

Comments
 (0)