Skip to content

Commit e2b5ae2

Browse files
authored
Merge pull request adafruit#3689 from jepler/issue-3688
esp32s2: wifi: fix several debug-build errors
2 parents a185549 + 0f70817 commit e2b5ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/esp32s2/common-hal/wifi/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ void wifi_reset(void) {
143143
radio->handler_instance_got_ip));
144144
ESP_ERROR_CHECK(esp_wifi_deinit());
145145
esp_netif_destroy(radio->netif);
146+
ESP_ERROR_CHECK(esp_event_loop_delete_default());
146147
radio->netif = NULL;
147-
ESP_ERROR_CHECK(esp_netif_deinit());
148148
}
149149

150150
void ipaddress_ipaddress_to_esp_idf(mp_obj_t ip_address, ip_addr_t* esp_ip_address) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy