oops - I was previously stopping bluetooth before stopping the mesh bluetooth service

which was bad bad
This commit is contained in:
geeksville committed 2020-03-04 16:10:36 -08:00
1 parent 425c570757
commit d1b7b6c5c5
3 files changed
+9 -5

No files matched your search

+8 -1
View File
@@ -329,10 +329,17 @@ BLEService *createMeshBluetoothService(BLEServer *server)
return service;
}
void destroyMeshBluetoothService()
void stopMeshBluetoothService()
{
assert(meshService);
meshService->stop();
}
void destroyMeshBluetoothService()
{
assert(meshService);
delete meshService;
meshFromNumCharacteristic = NULL;