Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 604ff59

Browse files
committed
added flag to header file
1 parent 4fe4248 commit 604ff59

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ESPAsync_WiFiManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class ESPAsync_WiFiManager
319319
// If you want to start the config portal
320320
bool startConfigPortal();
321321
bool startConfigPortal(char const *apName, char const *apPassword = NULL);
322-
void startConfigPortalModeless(char const *apName, char const *apPassword);
322+
void startConfigPortalModeless(char const *apName, char const *apPassword, bool shouldConnectWiFi = true);
323323

324324

325325
// get the AP name of the config portal, so it can be used in the callback

src_cpp/ESPAsync_WiFiManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class ESPAsync_WiFiManager
319319
// If you want to start the config portal
320320
boolean startConfigPortal();
321321
boolean startConfigPortal(char const *apName, char const *apPassword = NULL);
322-
void startConfigPortalModeless(char const *apName, char const *apPassword);
322+
void startConfigPortalModeless(char const *apName, char const *apPassword, bool shouldConnectWiFi = true);
323323

324324

325325
// get the AP name of the config portal, so it can be used in the callback

src_h/ESPAsync_WiFiManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class ESPAsync_WiFiManager
319319
// If you want to start the config portal
320320
bool startConfigPortal();
321321
bool startConfigPortal(char const *apName, char const *apPassword = NULL);
322-
void startConfigPortalModeless(char const *apName, char const *apPassword);
322+
void startConfigPortalModeless(char const *apName, char const *apPassword, bool shouldConnectWiFi = true);
323323

324324

325325
// get the AP name of the config portal, so it can be used in the callback

0 commit comments

Comments
 (0)