diff --git a/platform/windows/hci_transport_h2_winusb.c b/platform/windows/hci_transport_h2_winusb.c index 69a97ace5..1cf6c7834 100644 --- a/platform/windows/hci_transport_h2_winusb.c +++ b/platform/windows/hci_transport_h2_winusb.c @@ -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) {