mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
hci: fix c++ build
This commit is contained in:
parent
5a56192085
commit
23e56acec0
@ -407,7 +407,7 @@ static void hci_pairing_started(hci_connection_t * hci_connection, bool ssp){
|
||||
|
||||
// if we are responder, use minimal service security level as required level
|
||||
if (!initiator){
|
||||
hci_connection->requested_security_level = btstack_max(hci_connection->requested_security_level, hci_stack->gap_minimal_service_security_level);
|
||||
hci_connection->requested_security_level = btstack_max((uint32_t) hci_connection->requested_security_level, (uint32_t) hci_stack->gap_minimal_service_security_level);
|
||||
}
|
||||
|
||||
log_info("pairing started, ssp %u, initiator %u, requested level %u", (int) ssp, (int) initiator, hci_connection->requested_security_level);
|
||||
|
Loading…
x
Reference in New Issue
Block a user