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.
Fork of nRF51822 by
Diff: source/btle/btle.cpp
- Revision:
- 577:d38f01a3e701
- Parent:
- 575:7023a8204a1b
- Child:
- 586:533fd7fdb0fe
diff -r b699791e1dbc -r d38f01a3e701 source/btle/btle.cpp --- a/source/btle/btle.cpp Mon Jan 11 10:19:24 2016 +0000 +++ b/source/btle/btle.cpp Mon Jan 11 10:19:25 2016 +0000 @@ -157,8 +157,8 @@ const ble_gap_addr_t *own = &p_ble_evt->evt.gap_evt.params.connected.own_addr; gap.processConnectionEvent(handle, role, - static_cast<Gap::AddressType_t>(peer->addr_type), peer->addr, - static_cast<Gap::AddressType_t>(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; }