kopia lustrzana https://github.com/meshtastic/firmware
fix a nasty sleep bug: we weren't stopping our old mesh service
so it would kinda keep living (along with the recreated one) when we come back from sleep.pull/18/head
rodzic
bb0b2e72c8
commit
1f07d6735b
|
@ -332,6 +332,7 @@ BLEService *createMeshBluetoothService(BLEServer *server)
|
|||
void destroyMeshBluetoothService()
|
||||
{
|
||||
assert(meshService);
|
||||
meshService->stop();
|
||||
delete meshService;
|
||||
|
||||
meshFromNumCharacteristic = NULL;
|
||||
|
|
Ładowanie…
Reference in New Issue