hci_transport_h4: fix compile

This commit is contained in:
Matthias Ringwald 2016-04-27 11:51:01 +02:00
parent 307a4fe366
commit 82d05f164d

View File

@ -85,8 +85,11 @@ static uint16_t ehcill_defer_rx_size = 0;
// work around for eHCILL problem
static btstack_timer_source_t ehcill_sleep_ack_timer;
static uint8_t * tx_data;
#endif
// assert pre-buffer for packet type is available
#if !defined(HCI_OUTGOING_PRE_BUFFER_SIZE) || (HCI_OUTGOING_PRE_BUFFER_SIZE == 0)
#error HCI_OUTGOING_PRE_BUFFER_SIZE not defined. Please update hci.h
@ -118,7 +121,6 @@ static btstack_uart_config_t uart_config;
// write state
static TX_STATE tx_state; // updated from block_sent callback
static uint8_t * tx_data;
static uint16_t tx_len; // 0 == no outgoing packet
static uint8_t packet_sent_event[] = { HCI_EVENT_TRANSPORT_PACKET_SENT, 0};