Commit 4365a454 authored by me-no-dev's avatar me-no-dev
parent 023ae75b
...@@ -577,9 +577,9 @@ bool wifiLowLevelInit(bool persistent){ ...@@ -577,9 +577,9 @@ bool wifiLowLevelInit(bool persistent){
static bool wifiLowLevelDeinit(){ static bool wifiLowLevelDeinit(){
if(lowLevelInitDone){ if(lowLevelInitDone){
lowLevelInitDone = esp_wifi_deinit() == ESP_OK; lowLevelInitDone = !(esp_wifi_deinit() == ESP_OK);
} }
return true; return !lowLevelInitDone;
} }
static bool _esp_wifi_started = false; static bool _esp_wifi_started = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment