aa

Dependents:   Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal

Fork of nRF51822 by Nordic Semiconductor

Revision:
179:10e4c13360d9
Parent:
167:66ee4f876396
Child:
191:f403e1eb3dd5
diff -r 3b34428e80ea -r 10e4c13360d9 btle/btle.cpp
--- a/btle/btle.cpp	Mon May 18 09:53:05 2015 +0100
+++ b/btle/btle.cpp	Mon Jun 08 10:43:29 2015 +0100
@@ -113,8 +113,8 @@
             const ble_gap_addr_t *peer = &p_ble_evt->evt.gap_evt.params.connected.peer_addr;
             const ble_gap_addr_t *own  = &p_ble_evt->evt.gap_evt.params.connected.own_addr;
             nRF51Gap::getInstance().processConnectionEvent(handle,
-                                                           static_cast<Gap::addr_type_t>(peer->addr_type), peer->addr,
-                                                           static_cast<Gap::addr_type_t>(own->addr_type),  own->addr,
+                                                           static_cast<Gap::AddressType_t>(peer->addr_type), peer->addr,
+                                                           static_cast<Gap::AddressType_t>(own->addr_type),  own->addr,
                                                            params);
             break;
         }