mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 03:35:20 +00:00
hci: fix build
This commit is contained in:
parent
891b9fc269
commit
3e5e09262b
@ -305,6 +305,9 @@ hci_connection_t * hci_connection_for_bd_addr_and_type(bd_addr_t addr, bd_addr_
|
||||
return NULL;
|
||||
}
|
||||
|
||||
inline static void connectionClearAuthenticationFlags(hci_connection_t * conn, hci_authentication_flags_t flags){
|
||||
conn->authentication_flags = (hci_authentication_flags_t)(conn->authentication_flags & ~flags);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_CLASSIC
|
||||
|
||||
@ -349,11 +352,6 @@ inline static void connectionSetAuthenticationFlags(hci_connection_t * conn, hci
|
||||
conn->authentication_flags = (hci_authentication_flags_t)(conn->authentication_flags | flags);
|
||||
}
|
||||
|
||||
|
||||
inline static void connectionClearAuthenticationFlags(hci_connection_t * conn, hci_authentication_flags_t flags){
|
||||
conn->authentication_flags = (hci_authentication_flags_t)(conn->authentication_flags & ~flags);
|
||||
}
|
||||
|
||||
/**
|
||||
* add authentication flags and reset timer
|
||||
* @note: assumes classic connection
|
||||
|
Loading…
x
Reference in New Issue
Block a user