Fix a few more rebasing issues

pull/8876/head
Donatien Garnier 2018-11-27 01:33:36 +00:00 committed by Vincent Coubard
parent 89aabaec0d
commit 5a87cfa13d
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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(