mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 15:44:32 +00:00
hci: fix compile without sco-over-hci
This commit is contained in:
parent
f234b25082
commit
fa53fe20c5
@ -4977,7 +4977,6 @@ uint16_t hci_get_sco_voice_setting(void){
|
||||
}
|
||||
|
||||
#ifdef ENABLE_CLASSIC
|
||||
#ifdef ENABLE_SCO_OVER_HCI
|
||||
static int hci_have_usb_transport(void){
|
||||
if (!hci_stack->hci_transport) return 0;
|
||||
const char * transport_name = hci_stack->hci_transport->name;
|
||||
@ -4985,7 +4984,6 @@ static int hci_have_usb_transport(void){
|
||||
return (transport_name[0] == 'H') && (transport_name[1] == '2');
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/** @brief Get SCO packet length for current SCO Voice setting
|
||||
* @note Using SCO packets of the exact length is required for USB transfer
|
||||
|
Loading…
x
Reference in New Issue
Block a user