Skip to content

Commit 884878d

Browse files
authored
Merge pull request #82 from pennam/error-no-error
Minor: switch informative WiFi debug prints from ERROR to INFO
2 parents cab0d5a + 5e2279b commit 884878d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/Arduino_WiFiConnectionHandler.cpp

+3-3
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);
@@ -132,7 +132,7 @@ NetworkConnectionState WiFiConnectionHandler::update_handleConnected()
132132
if (_keep_alive)
133133
{
134134
#if !defined(__AVR__)
135-
Debug.print(DBG_ERROR, F("Attempting reconnection"));
135+
Debug.print(DBG_INFO, F("Attempting reconnection"));
136136
#endif
137137
}
138138

0 commit comments

Comments
 (0)