Change Error color to orange on RGB (#1333)
And enable its display when entering the WM portal
This commit is contained in:
1 parent
c98511ba36
commit
66588149a8
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -1250,8 +1250,8 @@ void setup_wifimanager(bool reset_settings) {
|
||||
}
|
||||
# endif
|
||||
|
||||
ErrorIndicatorON();
|
||||
InfoIndicatorON();
|
||||
ErrorIndicatorON();
|
||||
Log.notice(F("Connect your phone to WIFI AP: %s with PWD: %s" CR), WifiManager_ssid, WifiManager_password);
|
||||
//fetches ssid and pass and tries to connect
|
||||
//if it does not connect it starts an access point with the specified name
|
||||
@@ -1263,8 +1263,8 @@ void setup_wifimanager(bool reset_settings) {
|
||||
watchdogReboot(3);
|
||||
delay(5000);
|
||||
}
|
||||
ErrorIndicatorOFF();
|
||||
InfoIndicatorOFF();
|
||||
ErrorIndicatorOFF();
|
||||
}
|
||||
|
||||
displayPrint("Wifi connected");
|
||||
|
||||
Reference in new issue
Block a user