ble nano hid over gatt

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
48:d6938de02f62
Parent:
44:916b70fd1c40
Child:
54:899fc2b0a76b
--- a/BatteryService.h	Mon Aug 29 12:38:32 2016 +0000
+++ b/BatteryService.h	Mon Aug 29 14:09:09 2016 +0000
@@ -55,7 +55,7 @@
 	 * @param newLevel
 	 *              Update to battery level.
 	 */
-	void updateBatteryLevel(uint8_t newLevel) {
+	void updateBatteryLevel(const uint8_t newLevel) {
 		batteryLevel = newLevel;
 		ble.gattServer().write(batteryLevelCharacteristic.getValueHandle(), &batteryLevel, 1);
 	}