提交 4365a454 编写于 作者: M me-no-dev
上级 023ae75b
......@@ -577,9 +577,9 @@ bool wifiLowLevelInit(bool persistent){
static bool wifiLowLevelDeinit(){
if(lowLevelInitDone){
lowLevelInitDone = esp_wifi_deinit() == ESP_OK;
lowLevelInitDone = !(esp_wifi_deinit() == ESP_OK);
}
return true;
return !lowLevelInitDone;
}
static bool _esp_wifi_started = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册