changed name

Fork of mbed-os-example-ble-BatteryLevel by mbed-os-examples

Files at this revision

API Documentation at this revision

Comitter:
vazbyte
Date:
Wed Oct 24 13:40:20 2018 +0000
Parent:
74:923be844d0fe
Child:
76:9a6403ea5c9b
Commit message:
fix;

Changed in this revision

source/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);