From c4218671d7eb47e0a45e1866e8f3efacc7519053 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 18 Dec 2017 21:22:00 +0100 Subject: [PATCH] windows-winusb: fix compile without ENABLE_SCO_OVER_HCI --- platform/windows/hci_transport_h2_winusb.c | 4 ++++ 1 file changed, 4 insertions(+) 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) {