Skip to content

Commit 5a87cfa

Browse files
Donatien Garnierpan-
authored andcommitted
Fix a few more rebasing issues
1 parent 89aabae commit 5a87cfa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_SOFTDEVICE/TARGET_NRF52/source/nRF5xGap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ peer_address_type_t convert_nordic_address(bool identity, uint8_t address) {
108108
}
109109

110110
peer_address_type_t convert_identity_address(advertising_peer_address_type_t address) {
111-
if (address == advertising_peer_address_type_t::PUBLIC) {
111+
if (address == advertising_peer_address_type_t::PUBLIC_ADDRESS) {
112112
return peer_address_type_t::PUBLIC_IDENTITY;
113113
} else {
114114
return peer_address_type_t::RANDOM_STATIC_IDENTITY;

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_SOFTDEVICE/TARGET_NRF52/source/nRF5xPalSecurityManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,10 +1022,10 @@ bool nRF5xSecurityManager::sm_handler(const ble_evt_t *evt)
10221022
);
10231023

10241024
advertising_peer_address_type_t
1025-
address_type(advertising_peer_address_type_t::PUBLIC);
1025+
address_type(advertising_peer_address_type_t::PUBLIC_ADDRESS);
10261026

10271027
if (pairing_cb->peer_id_key.id_addr_info.addr_type) {
1028-
address_type = advertising_peer_address_type_t::RANDOM;
1028+
address_type = advertising_peer_address_type_t::RANDOM_ADDRESS;
10291029
}
10301030

10311031
handler->on_keys_distributed_bdaddr(

0 commit comments

Comments
 (0)