mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-27 06:35:20 +00:00
hci,l2cap_signaling: fix warning for LE-only
This commit is contained in:
parent
34e29053a1
commit
1c79b5e3cc
@ -1896,6 +1896,8 @@ static void hci_handle_connection_failed(hci_connection_t * conn, uint8_t status
|
||||
if (status == ERROR_CODE_AUTHENTICATION_FAILURE) {
|
||||
gap_drop_link_key_for_bd_addr(bd_address);
|
||||
}
|
||||
#else
|
||||
UNUSED(status);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -94,6 +94,8 @@ static uint16_t l2cap_create_signaling_internal(uint8_t * acl_buffer, hci_con_ha
|
||||
if (is_classic){
|
||||
pb = hci_non_flushable_packet_boundary_flag_supported() ? 0x00 : 0x02;
|
||||
}
|
||||
#else
|
||||
UNUSED(is_classic);
|
||||
#endif
|
||||
|
||||
// 0 - Connection handle : PB=pb : BC=00
|
||||
|
Loading…
x
Reference in New Issue
Block a user