WIP - all BT characteristics must be dynamically alloced

This commit is contained in:
geeksville
2020-02-23 11:05:55 -08:00
parent 356902d552
commit a678dd3ee8
3 changed files with 33 additions and 25 deletions

View File

@@ -285,8 +285,7 @@ void setBluetoothEnable(bool on)
else
{
// FIXME - we are leaking like crazy
BLEDevice::deinit(false);
btPool.reset();
deinitBLE();
}
}
}