nordic

Fork of nRF51822 by Nordic Semiconductor

Revision:
573:b726baee23c2
Parent:
572:bbf6410b6a89
Child:
576:7023a8204a1b
--- a/source/btle/btle.cpp	Mon Jan 11 10:19:22 2016 +0000
+++ b/source/btle/btle.cpp	Mon Jan 11 10:19:22 2016 +0000
@@ -154,8 +154,8 @@
             const ble_gap_addr_t *own  = &p_ble_evt->evt.gap_evt.params.connected.own_addr;
             nRF5xGap::getInstance().processConnectionEvent(handle,
                                                            role,
-                                                           static_cast<BLEProtocol::AddressType::Type>(peer->addr_type), peer->addr,
-                                                           static_cast<BLEProtocol::AddressType::Type>(own->addr_type),  own->addr,
+                                                           static_cast<BLEProtocol::AddressType_t>(peer->addr_type), peer->addr,
+                                                           static_cast<BLEProtocol::AddressType_t>(own->addr_type),  own->addr,
                                                            params);
             break;
         }