Skip to content

Commit 11467ef

Browse files
committed
WiFi debug: Switch WiFi status ESP and WiFi Firmware debug prints from ERROR to INFO
1 parent 95de8e7 commit 11467ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Arduino_WiFiConnectionHandler.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ NetworkConnectionState WiFiConnectionHandler::update_handleInit()
6767
return NetworkConnectionState::ERROR;
6868
}
6969
#if !defined(__AVR__)
70-
Debug.print(DBG_ERROR, F("Current WiFi Firmware: %s"), WiFi.firmwareVersion());
70+
Debug.print(DBG_INFO, F("Current WiFi Firmware: %s"), WiFi.firmwareVersion());
7171
#endif
7272

7373
#if defined(WIFI_FIRMWARE_VERSION_REQUIRED)
@@ -82,7 +82,7 @@ NetworkConnectionState WiFiConnectionHandler::update_handleInit()
8282
#endif
8383

8484
#else
85-
Debug.print(DBG_ERROR, F("WiFi status ESP: %d"), WiFi.status());
85+
Debug.print(DBG_INFO, F("WiFi status ESP: %d"), WiFi.status());
8686
WiFi.disconnect();
8787
delay(300);
8888
WiFi.begin(_ssid, _pass);

0 commit comments

Comments
 (0)