Skip to content

Commit 9eac697

Browse files
authored
Merge pull request #1199 from cpainchaud/master
adding WifiManager::isConfigPortalActive() abd WifiManager::isWebPortalActive()
2 parents 73b4653 + 87ec3c8 commit 9eac697

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WiFiManager.h

+4
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,10 @@ class WiFiManager
640640
// DEBUG_WM("NO fromString METHOD ON IPAddress, you need ESP8266 core 2.1.0 or newer for Custom IP configuration to work.");
641641
return false;
642642
}
643+
644+
public:
645+
inline bool isConfigPortalActive() { return configPortalActive; }
646+
inline bool isWebPortalActive() { return webPortalActive; }
643647
};
644648

645649
#endif

0 commit comments

Comments
 (0)