From 042a40aaa542a4ed1e1a3c588d42d70bb5a1cd00 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 15 Feb 2016 21:49:39 +0100 Subject: [PATCH] libusb: #error with HAVE_SCO on Win32 --- platforms/posix/src/hci_transport_h2_libusb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platforms/posix/src/hci_transport_h2_libusb.c b/platforms/posix/src/hci_transport_h2_libusb.c index 0a9c28ca0..1d5091039 100644 --- a/platforms/posix/src/hci_transport_h2_libusb.c +++ b/platforms/posix/src/hci_transport_h2_libusb.c @@ -138,6 +138,10 @@ static struct libusb_transfer *acl_in_transfer[ASYNC_BUFFERS]; #ifdef HAVE_SCO +#ifdef _WIN32 +#error "SCO not working on Win32 (Windows 8, libusb 1.0.19, Zadic WinUSB), please uncomment HAVE_SCO in btstack-config.h for now" +#endif + // incoming SCO static H2_SCO_STATE sco_state; static uint8_t sco_buffer[255+3 + SCO_PACKET_SIZE];