mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-27 23:37:25 +00:00
hci: fix compile
This commit is contained in:
parent
b55748bb3b
commit
034e9b53bb
@ -775,10 +775,12 @@ static void hci_shutdown_connection(hci_connection_t *conn){
|
||||
// now it's gone
|
||||
hci_emit_nr_connections_changed();
|
||||
|
||||
#ifdef ENABLE_SCO_OVER_HCI
|
||||
// update SCO
|
||||
if (addr_type == BD_ADDR_TYPE_SCO && hci_stack->hci_transport && hci_stack->hci_transport->set_sco_config){
|
||||
hci_stack->hci_transport->set_sco_config(hci_stack->sco_voice_setting_active, hci_number_sco_connections());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef ENABLE_CLASSIC
|
||||
|
Loading…
x
Reference in New Issue
Block a user