We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8475df2 commit dce1dcfCopy full SHA for dce1dcf
ESPGeiger/src/ConfigManager/ConfigManager.cpp
@@ -231,11 +231,14 @@ void ConfigManager::handleOurParam(){
231
server->client().stop();
232
}
233
234
-void ConfigManager::autoConnect()
+bool ConfigManager::autoConnect()
235
{
236
WiFiManager::setConnectTimeout(60);
237
- WiFiManager::autoConnect(hostName);
238
- Log::console(PSTR("WiFi: IP: %s"), WiFi.localIP().toString().c_str());
+ bool result = WiFiManager::autoConnect(hostName);
+ if (result) {
239
+ Log::console(PSTR("WiFi: IP: %s"), WiFi.localIP().toString().c_str());
240
+ }
241
+ return result;
242
243
244
void ConfigManager::startWebPortal()
0 commit comments