test
Fork of nRF51822 by
Diff: btle/btle.cpp
- Revision:
- 179:10e4c13360d9
- Parent:
- 167:66ee4f876396
- Child:
- 191:f403e1eb3dd5
--- 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; }