changed name

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

Revision:
76:9a6403ea5c9b
Parent:
75:fc7f3b141378
--- a/source/main.cpp	Wed Oct 24 13:40:20 2018 +0000
+++ b/source/main.cpp	Sun Oct 28 12:06:45 2018 +0000
@@ -99,7 +99,7 @@
     ble.gap().onDisconnection(disconnectionCallback);
 
     /* Setup primary service */
-    hrService = new HeartRateService(ble, hrmCounter);
+    hrService = new HeartRateService(ble, hrmCounter, HeartRateService::LOCATION_FINGER);
 
     /* Setup advertising */
     ble.gap().accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED | GapAdvertisingData::LE_GENERAL_DISCOVERABLE);