Skip to content

Commit

Permalink
Fix wifi+bt startup crash (bdring#311)
Browse files Browse the repository at this point in the history
* Fixed timing-dependent hang with M5 (bdring#282)

* fix wifi+bt startup crash

Co-authored-by: bdring <barton.dring@gmail.com>
Co-authored-by: Mitch Bradley <wmb@firmworks.com>
Co-authored-by: Sergey Averin <xek@ozon.ru>
  • Loading branch information
4 people authored and Stefan de Bruijn committed Jul 21, 2022
1 parent 6fad1f4 commit 1591f75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions FluidNC/src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ void setup() {
sys.state = State::ConfigAlarm;
}

WebUI::wifi_config.begin();
WebUI::bt_config.begin();
if (!WebUI::wifi_config.begin()) {
WebUI::bt_config.begin();
}
WebUI::inputBuffer.begin();
allChannels.deregistration(&startupLog);
}
Expand Down

0 comments on commit 1591f75

Please sign in to comment.