Nora Vazbyte
/
mbed-os-example-ble-BatteryLevel
changed name
Fork of mbed-os-example-ble-BatteryLevel by
Diff: source/main.cpp
- Revision:
- 75:fc7f3b141378
- Parent:
- 74:923be844d0fe
- Child:
- 76:9a6403ea5c9b
diff -r 923be844d0fe -r fc7f3b141378 source/main.cpp --- a/source/main.cpp Wed Oct 24 13:28:56 2018 +0000 +++ b/source/main.cpp Wed Oct 24 13:40:20 2018 +0000 @@ -99,7 +99,7 @@ ble.gap().onDisconnection(disconnectionCallback); /* Setup primary service */ - hrService = new HeartBeatService(ble, hrmCounter); + hrService = new HeartRateService(ble, hrmCounter); /* Setup advertising */ ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE);