is linux fixed now?

This commit is contained in:
Jm
2021-01-09 18:27:03 -08:00
parent c82905bbdd
commit 9cd24a5646
2 changed files with 10 additions and 1 deletions

View File

@@ -545,7 +545,9 @@ void setBluetoothEnable(bool on)
if (firstTime) {
firstTime = 0;
} else {
initWifi(0);
#ifndef NO_ESP32
initWifi();
#endif
}
} else {
@@ -557,7 +559,9 @@ void setBluetoothEnable(bool on)
*/
// shutdown wifi
#ifndef NO_ESP32
deinitWifi();
#endif
// We have to totally teardown our bluetooth objects to prevent leaks
deinitBLE();