mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-15 22:20:59 +00:00
hci: fix build
This commit is contained in:
parent
64e2b019f2
commit
2b6efc4d0e
@ -6702,9 +6702,8 @@ static bool hci_run_general_gap_le(void){
|
||||
le_device_db_info(i, &peer_identity_addr_type, peer_identity_addreses, peer_irk);
|
||||
if (peer_identity_addr_type == BD_ADDR_TYPE_UNKNOWN) continue;
|
||||
if (btstack_is_null(peer_irk, 16)) continue;
|
||||
const uint8_t *local_irk = gap_get_persistent_irk();
|
||||
local_irk = gap_get_persistent_irk();
|
||||
// command uses format specifier 'P' that stores 16-byte value without flip
|
||||
uint8_t local_irk_flipped[16];
|
||||
uint8_t peer_irk_flipped[16];
|
||||
reverse_128(local_irk, local_irk_flipped);
|
||||
reverse_128(peer_irk, peer_irk_flipped);
|
||||
|
Loading…
x
Reference in New Issue
Block a user