Initialize member correctly: May lead to instant disconnect in some situations.

refs #139
pull/140/head
Sven Steckmann 5 years ago
parent becd58ec63
commit a03d57f682
  1. 1
      src/AutoConnect.cpp

@ -48,6 +48,7 @@ AutoConnect::AutoConnect(WebServerClass& webServer) {
void AutoConnect::_initialize(void) {
_rfConnect = false;
_rfReset = false;
_rfDisconnect = false;
_responsePage = nullptr;
_currentPageElement = nullptr;
_menuTitle = _apConfig.title;

Loading…
Cancel
Save