kopia lustrzana https://github.com/sh123/esp32_loraprs
Logging update
rodzic
a24c99b3ed
commit
75d756ded5
|
@ -137,7 +137,7 @@ void Service::setupWifi(const String &wifiName, const String &wifiKey)
|
||||||
int retryCnt = 0;
|
int retryCnt = 0;
|
||||||
while (WiFi.status() != WL_CONNECTED) {
|
while (WiFi.status() != WL_CONNECTED) {
|
||||||
delay(CfgConnRetryMs);
|
delay(CfgConnRetryMs);
|
||||||
LOG_WARN("WIFI retrying", retryCnt);
|
LOG_INFO("WIFI retrying", retryCnt);
|
||||||
if (retryCnt++ >= CfgConnRetryMaxTimes) {
|
if (retryCnt++ >= CfgConnRetryMaxTimes) {
|
||||||
LOG_ERROR("WIFI connect failed");
|
LOG_ERROR("WIFI connect failed");
|
||||||
return;
|
return;
|
||||||
|
|
Ładowanie…
Reference in New Issue