Skip to content

Commit

Permalink
fix crash on OTA start - don't stop bus
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkucera committed Feb 27, 2024
1 parent e22015e commit 62ebb27
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,6 @@ void setup() {
wifiServerEnh.begin();
statusServer.begin();

// Stop the Bus when the OTA update starts, because it interferes with the OTA process
ArduinoOTA.onStart([]() {
Bus.end();
});
ArduinoOTA.begin();

MDNS.end();
Expand Down

0 comments on commit 62ebb27

Please sign in to comment.