nordic

Fork of nRF51822 by Nordic Semiconductor

Revision:
334:8eedcd324853
Parent:
333:b054000833d4
Child:
336:601d65634447
diff -r b054000833d4 -r 8eedcd324853 btle/btle_discovery.cpp
--- a/btle/btle_discovery.cpp	Fri Jun 19 15:55:32 2015 +0100
+++ b/btle/btle_discovery.cpp	Fri Jun 19 15:55:32 2015 +0100
@@ -56,7 +56,7 @@
 
         case BLE_GATTC_EVT_READ_RSP:
             if (DiscoveredCharacteristic::onDataReadCallback != NULL) {
-                DiscoveredCharacteristic::ReadResponse_t response = {
+                GattClient::ReadResponse_t response = {
                     .handle = p_ble_evt->evt.gattc_evt.params.read_rsp.handle,
                     .offset = p_ble_evt->evt.gattc_evt.params.read_rsp.offset,
                     .len    = p_ble_evt->evt.gattc_evt.params.read_rsp.len,