Merge pull request #140 from Boldie/fix_missingInit

Initialize member correctly: May lead to instant disconnect in some situations.
Fixes #139
pull/142/head
Hieromon Ikasamo 5 years ago committed by GitHub
commit ad9b7c96d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/AutoConnect.cpp

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

Loading…
Cancel
Save