Andrew Fox / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
670:5e4aecd9af5b
Parent:
669:7179b4a5aa7d
Child:
671:33ec93d25695
diff -r 7179b4a5aa7d -r 5e4aecd9af5b services/LinkLossService.h
--- a/services/LinkLossService.h	Fri Jun 19 15:53:01 2015 +0100
+++ b/services/LinkLossService.h	Fri Jun 19 15:53:01 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);
         }