windows-winusb: fix compile without ENABLE_SCO_OVER_HCI

This commit is contained in:
Matthias Ringwald 2017-12-18 21:22:00 +01:00
parent 9974aee0d2
commit c4218671d7

View File

@ -1379,7 +1379,11 @@ static const hci_transport_t hci_transport_usb = {
/* int (*send_packet)(...); */ &usb_send_packet,
/* int (*set_baudrate)(uint32_t baudrate); */ NULL,
/* void (*reset_link)(void); */ NULL,
#ifdef ENABLE_SCO_OVER_HCI
/* void (*set_sco_config)(uint16_t voice_setting, int num_connections); */ usb_set_sco_config,
#else
/* void (*set_sco_config)(uint16_t voice_setting, int num_connections); */ NULL,
#endif
};
const hci_transport_t * hci_transport_usb_instance(void) {