wip - finally done switching to dynamic allocs

This commit is contained in:
geeksville
2020-02-23 12:25:59 -08:00
parent bf640bec3c
commit 5f88174dbf
2 changed files with 19 additions and 22 deletions

View File

@@ -123,6 +123,7 @@ BLEService *createUpdateService(BLEServer *server)
// Create the BLE Service
BLEService *service = server->createService("cb0b9a0b-a84c-4c0d-bdbb-442e3144ee30");
assert(!resultC);
resultC = new (btPool) BLECharacteristic("5e134862-7411-4424-ac4a-210937432c77", BLECharacteristic::PROPERTY_READ | BLECharacteristic::PROPERTY_NOTIFY);
addWithDesc(service, new (btPool) TotalSizeCharacteristic, "total image size");