Oscar Ariza / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
656:4dce7c6d2eb3
Parent:
568:e4b38e43de7c
Child:
660:5fc41956cbd0
diff -r 3d76af29560a -r 4dce7c6d2eb3 services/LinkLossService.h
--- a/services/LinkLossService.h	Fri Jun 19 15:52:59 2015 +0100
+++ b/services/LinkLossService.h	Fri Jun 19 15:52:59 2015 +0100
@@ -80,7 +80,7 @@
      * @param[in] params
      *     Information about the characterisitc being updated.
      */
-    virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) {
+    virtual void onDataWritten(const GattWriteCallbackParams *params) {
         if (params->charHandle == alertLevelChar.getValueHandle()) {
             alertLevel = *reinterpret_cast<const AlertLevel_t *>(params->data);
         }