Skip to content

Commit 8f13c66

Browse files
authored
Wifi stay disconnected after manual disconnect (#3033)
1 parent 017601a commit 8f13c66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/ESP32/_Network/NF_ESP32_Wireless.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ esp_err_t NF_ESP32_Wireless_Disconnect()
281281
{
282282
esp_err_t ec;
283283

284+
NF_ESP32_IsToConnect = false;
285+
284286
ec = esp_wifi_disconnect();
285287

286288
if (ec != ESP_OK)

0 commit comments

Comments
 (0)