From fa53fe20c506d9c324500a45740a9c9b80f89dce Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 18 Mar 2019 21:56:54 +0100 Subject: [PATCH] hci: fix compile without sco-over-hci --- src/hci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hci.c b/src/hci.c index 628ef087f..a2be51b5a 100644 --- a/src/hci.c +++ b/src/hci.c @@ -4977,7 +4977,6 @@ uint16_t hci_get_sco_voice_setting(void){ } #ifdef ENABLE_CLASSIC -#ifdef ENABLE_SCO_OVER_HCI static int hci_have_usb_transport(void){ if (!hci_stack->hci_transport) return 0; const char * transport_name = hci_stack->hci_transport->name; @@ -4985,7 +4984,6 @@ static int hci_have_usb_transport(void){ return (transport_name[0] == 'H') && (transport_name[1] == '2'); } #endif -#endif /** @brief Get SCO packet length for current SCO Voice setting * @note Using SCO packets of the exact length is required for USB transfer