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

Commit f98701a

Browse files
committed
tidied up ifs
1 parent fafe08e commit f98701a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src_cpp/ESPAsync_WiFiManager.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,16 +633,16 @@ void ESPAsync_WiFiManager::startConfigPortalModeless(char const *apName, char co
633633
LOGDEBUG("SET AP STA");
634634

635635
// try to connect
636-
if (shouldConnectWiFi && connectWifi("", "") == WL_CONNECTED)
637-
{
636+
if (shouldConnectWiFi && connectWifi("", "") == WL_CONNECTED)
637+
{
638638
LOGDEBUG1(F("IP Address:"), WiFi.localIP());
639-
639+
640640
if ( _savecallback != NULL)
641641
{
642642
//todo: check if any custom parameters actually exist, and check if they really changed maybe
643643
_savecallback();
644644
}
645-
}
645+
}
646646

647647
if ( _apcallback != NULL)
648648
{

0 commit comments

Comments
 (0)