File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -912,7 +912,7 @@ esp_err_t WiFiGenericClass::_eventCallback(arduino_event_t *event)
912
912
913
913
if (!event) return ESP_OK; // Null would crash this function
914
914
915
- log_d (" Arduino Event: %d - %s" , event->event_id , ArduinoEventIdToCStr (event->event_id ));
915
+ log_d (" Arduino Event: %d - %s" , event->event_id , WiFiGenericClass. ArduinoEventIdToCStr (event->event_id ));
916
916
if (event->event_id == ARDUINO_EVENT_WIFI_SCAN_DONE) {
917
917
WiFiScanClass::_scanDone ();
918
918
} else if (event->event_id == ARDUINO_EVENT_WIFI_STA_START) {
@@ -933,7 +933,7 @@ esp_err_t WiFiGenericClass::_eventCallback(arduino_event_t *event)
933
933
// Reason 0 causes crash, use reason 1 (UNSPECIFIED) instead
934
934
if (!reason)
935
935
reason = WIFI_REASON_UNSPECIFIED;
936
- log_w (" Reason: %u - %s" , reason, WiFiErrReasonToCStr ((wifi_err_reason_t )reason));
936
+ log_w (" Reason: %u - %s" , reason, WiFiGenericClass. WiFiErrReasonToCStr ((wifi_err_reason_t )reason));
937
937
if (reason == WIFI_REASON_NO_AP_FOUND) {
938
938
WiFiSTAClass::_setStatus (WL_NO_SSID_AVAIL);
939
939
} else if ((reason == WIFI_REASON_AUTH_FAIL) && !first_connect){
You can’t perform that action at this time.
0 commit comments