Skip to content

Commit

Permalink
Wifi stay disconnected after manual disconnect (nanoframework#3033)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSoundy authored and TerryFogg committed Dec 3, 2024
1 parent 58e3a06 commit 030aef2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions targets/ESP32/_Network/NF_ESP32_Wireless.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ esp_err_t NF_ESP32_Wireless_Disconnect()
{
esp_err_t ec;

NF_ESP32_IsToConnect = false;

ec = esp_wifi_disconnect();

if (ec != ESP_OK)
Expand Down

0 comments on commit 030aef2

Please sign in to comment.