Minor temporary patch to allow DFU packet callback

Fork of BLE_API by Bluetooth Low Energy

Revision:
245:712e0719d7e9
Parent:
243:98f930d14515
Child:
277:1407d2f1ce3c
--- a/services/DFUService.h	Thu Dec 11 11:52:32 2014 +0000
+++ b/services/DFUService.h	Thu Dec 11 11:52:32 2014 +0000
@@ -96,7 +96,7 @@
      *     Information about the characterisitc being updated.
      */
     virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) {
-        if (params->charHandle == controlPoint.getValueAttribute().getHandle()) {
+        if (params->charHandle == controlPoint.getValueHandle()) {
             /* At present, writing anything will do the trick--this needs to be improved. */
             if (handoverCallback) {
                 handoverCallback();