mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
fix reconnect for WIFI on esp32
This commit is contained in:
parent
9f601df412
commit
9a21e10deb
@ -167,6 +167,8 @@ int pika_hal_platform_WIFI_ioctl_disable(pika_dev* dev) {
|
||||
esp_wifi_disconnect();
|
||||
esp_wifi_stop();
|
||||
esp_wifi_deinit();
|
||||
wifi_sta_connect_requested = PIKA_FALSE;
|
||||
pika_debug("disable wifi");
|
||||
wifi_started = PIKA_FALSE;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user