disable HAVE_SCO for now

This commit is contained in:
matthias.ringwald@gmail.com 2015-02-17 22:42:08 +00:00
parent b083b3bf53
commit c2819c49d9

View File

@ -106,19 +106,19 @@ static libusb_device_handle * handle;
#define ASYNC_BUFFERS 2 #define ASYNC_BUFFERS 2
#define AYSNC_POLLING_INTERVAL_MS 1 #define AYSNC_POLLING_INTERVAL_MS 1
#define NUM_ISO_PACKETS 4 #define NUM_ISO_PACKETS 4
#define SCO_PACKET_SIZE 64
static struct libusb_transfer *command_out_transfer; static struct libusb_transfer *command_out_transfer;
static struct libusb_transfer *acl_out_transfer; static struct libusb_transfer *acl_out_transfer;
static struct libusb_transfer *event_in_transfer[ASYNC_BUFFERS]; static struct libusb_transfer *event_in_transfer[ASYNC_BUFFERS];
static struct libusb_transfer *acl_in_transfer[ASYNC_BUFFERS]; static struct libusb_transfer *acl_in_transfer[ASYNC_BUFFERS];
#define SCO_PACKET_SIZE 64 static H2_SCO_STATE sco_state;
#ifdef HAVE_SCO
static uint8_t sco_buffer[255+3 + SCO_PACKET_SIZE]; static uint8_t sco_buffer[255+3 + SCO_PACKET_SIZE];
static uint16_t sco_read_pos; static uint16_t sco_read_pos;
static uint16_t sco_bytes_to_read; static uint16_t sco_bytes_to_read;
static H2_SCO_STATE sco_state;
#ifdef HAVE_SCO
static struct libusb_transfer *sco_out_transfer; static struct libusb_transfer *sco_out_transfer;
static struct libusb_transfer *sco_in_transfer[ASYNC_BUFFERS]; static struct libusb_transfer *sco_in_transfer[ASYNC_BUFFERS];
static uint8_t hci_sco_in_buffer[ASYNC_BUFFERS][NUM_ISO_PACKETS * SCO_PACKET_SIZE]; static uint8_t hci_sco_in_buffer[ASYNC_BUFFERS][NUM_ISO_PACKETS * SCO_PACKET_SIZE];