Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: nrf51-sdk
Fork of nRF51822 by
Diff: source/btle/btle.cpp
- Revision:
- 572:b726baee23c2
- Parent:
- 571:bbf6410b6a89
- Child:
- 575: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;
}
