Merge pull request #3689 from jepler/issue-3688
esp32s2: wifi: fix several debug-build errors
This commit is contained in:
commit
e2b5ae2d77
|
@ -143,8 +143,8 @@ void wifi_reset(void) {
|
||||||
radio->handler_instance_got_ip));
|
radio->handler_instance_got_ip));
|
||||||
ESP_ERROR_CHECK(esp_wifi_deinit());
|
ESP_ERROR_CHECK(esp_wifi_deinit());
|
||||||
esp_netif_destroy(radio->netif);
|
esp_netif_destroy(radio->netif);
|
||||||
|
ESP_ERROR_CHECK(esp_event_loop_delete_default());
|
||||||
radio->netif = NULL;
|
radio->netif = NULL;
|
||||||
ESP_ERROR_CHECK(esp_netif_deinit());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ipaddress_ipaddress_to_esp_idf(mp_obj_t ip_address, ip_addr_t* esp_ip_address) {
|
void ipaddress_ipaddress_to_esp_idf(mp_obj_t ip_address, ip_addr_t* esp_ip_address) {
|
||||||
|
|
Loading…
Reference in New Issue