mirror of https://github.com/ARMmbed/mbed-os.git
Fix a few more rebasing issues
parent
89aabaec0d
commit
5a87cfa13d
|
|
@ -108,7 +108,7 @@ peer_address_type_t convert_nordic_address(bool identity, uint8_t address) {
|
|||
}
|
||||
|
||||
peer_address_type_t convert_identity_address(advertising_peer_address_type_t address) {
|
||||
if (address == advertising_peer_address_type_t::PUBLIC) {
|
||||
if (address == advertising_peer_address_type_t::PUBLIC_ADDRESS) {
|
||||
return peer_address_type_t::PUBLIC_IDENTITY;
|
||||
} else {
|
||||
return peer_address_type_t::RANDOM_STATIC_IDENTITY;
|
||||
|
|
|
|||
|
|
@ -1022,10 +1022,10 @@ bool nRF5xSecurityManager::sm_handler(const ble_evt_t *evt)
|
|||
);
|
||||
|
||||
advertising_peer_address_type_t
|
||||
address_type(advertising_peer_address_type_t::PUBLIC);
|
||||
address_type(advertising_peer_address_type_t::PUBLIC_ADDRESS);
|
||||
|
||||
if (pairing_cb->peer_id_key.id_addr_info.addr_type) {
|
||||
address_type = advertising_peer_address_type_t::RANDOM;
|
||||
address_type = advertising_peer_address_type_t::RANDOM_ADDRESS;
|
||||
}
|
||||
|
||||
handler->on_keys_distributed_bdaddr(
|
||||
|
|
|
|||
Loading…
Reference in New Issue