BLE_API_Tiny_BLE

Dependents:   CSSE4011_BLE_IMU

Fork of BLE_API by Bluetooth Low Energy

Revision:
31:2c94f0501807
Parent:
27:4a83843f04b0
Child:
34:da2ea8cd6216
--- a/GattService.cpp	Fri Jan 17 14:25:29 2014 +0000
+++ b/GattService.cpp	Tue Apr 01 11:04:56 2014 +0100
@@ -104,7 +104,7 @@
     /* ToDo: Make sure this characteristic UUID doesn't already exist */
     /* ToDo: Basic validation */
 
-    characteristics[characteristicCount] = characteristic;
+    characteristics[characteristicCount] = &characteristic;
     characteristicCount++;
     
     return BLE_ERROR_NONE;