mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
test: fix compile. libusb: fix warning
This commit is contained in:
parent
1b1c95e9d6
commit
ee6b16138c
@ -89,6 +89,7 @@
|
||||
// --> support only a single SCO connection
|
||||
// #define ALT_SETTING (1)
|
||||
|
||||
#ifdef ENABLE_SCO_OVER_HCI
|
||||
// alt setting for 1-3 connections and 8/16 bit
|
||||
static const int alt_setting_8_bit[] = {1,2,3};
|
||||
static const int alt_setting_16_bit[] = {2,4,5};
|
||||
@ -106,6 +107,7 @@ static const uint16_t iso_packet_size_for_alt_setting[] = {
|
||||
49,
|
||||
63,
|
||||
};
|
||||
#endif
|
||||
|
||||
// 49 bytes is the max usb packet size for alternate setting 5 (Three 8 kHz 16-bit channels or one 8 kHz 16-bit channel and one 16 kHz 16-bit channel)
|
||||
// note: alt setting 6 has max packet size of 63 every 7.5 ms = 472.5 bytes / HCI packet, while max SCO packet has 255 byte payload
|
||||
|
@ -253,3 +253,7 @@ int hci_non_flushable_packet_boundary_flag_supported(void){
|
||||
|
||||
void l2cap_run(void){
|
||||
}
|
||||
|
||||
HCI_STATE hci_get_state(void){
|
||||
return HCI_STATE_WORKING;
|
||||
}
|
Loading…
Reference in New Issue
Block a user