mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 10:12:50 +00:00
changes for soft ap + captive portal
This commit is contained in:
@@ -526,8 +526,10 @@ void setBluetoothEnable(bool on)
|
||||
initWifi();
|
||||
}
|
||||
} else {
|
||||
// shutdown wifi
|
||||
deinitWifi();
|
||||
|
||||
// We have to totally teardown our bluetooth objects to prevent leaks
|
||||
deinitWifi(); // shutdown wifi
|
||||
deinitBLE();
|
||||
|
||||
Serial.printf("Shutdown BT: %u heap size\n", ESP.getFreeHeap());
|
||||
|
||||
Reference in New Issue
Block a user