Skip to content

Commit 89aabae

Browse files
Donatien Garnierpan-
authored andcommitted
Fix some rebasing quirks
1 parent f980814 commit 89aabae

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ peer_address_type_t convert_nordic_address(uint8_t address) {
7979
}
8080

8181
peer_address_type_t convert_identity_address(advertising_peer_address_type_t address) {
82-
if (address == advertising_peer_address_type_t::PUBLIC) {
82+
if (address == advertising_peer_address_type_t::PUBLIC_ADDRESS) {
8383
return peer_address_type_t::PUBLIC_IDENTITY;
8484
} else {
8585
return peer_address_type_t::RANDOM_STATIC_IDENTITY;

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

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

990990
advertising_peer_address_type_t
991-
address_type(advertising_peer_address_type_t::PUBLIC);
991+
address_type(advertising_peer_address_type_t::PUBLIC_ADDRESS);
992992

993993
if (pairing_cb->peer_id_key.id_addr_info.addr_type) {
994-
address_type = advertising_peer_address_type_t::RANDOM;
994+
address_type = advertising_peer_address_type_t::RANDOM_ADDRESS;
995995
}
996996

997997
handler->on_keys_distributed_bdaddr(

targets/targets.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4124,7 +4124,7 @@
41244124
"CMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\""
41254125
],
41264126
"MERGE_BOOTLOADER": false,
4127-
"extra_labels": ["NORDIC", "MCU_NRF51", "MCU_NRF51822", "CORDIO", "CORDIO_LL"],
4127+
"extra_labels": ["NORDIC", "MCU_NRF51", "MCU_NRF51822"],
41284128
"OUTPUT_EXT": "hex",
41294129
"is_disk_virtual": true,
41304130
"supported_toolchains": ["ARM", "GCC_ARM"],
@@ -6319,9 +6319,7 @@
63196319
"MCU_NRF51822_UNIFIED",
63206320
"NRF5x",
63216321
"NRF51",
6322-
"SDK_11",
6323-
"CORDIO",
6324-
"CORDIO_LL"
6322+
"SDK_11"
63256323
],
63266324
"OUTPUT_EXT": "hex",
63276325
"is_disk_virtual": true,

0 commit comments

Comments
 (0)