mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 10:20:58 +00:00
hci_transport_h4: fix compile
This commit is contained in:
parent
307a4fe366
commit
82d05f164d
@ -85,8 +85,11 @@ static uint16_t ehcill_defer_rx_size = 0;
|
|||||||
// work around for eHCILL problem
|
// work around for eHCILL problem
|
||||||
static btstack_timer_source_t ehcill_sleep_ack_timer;
|
static btstack_timer_source_t ehcill_sleep_ack_timer;
|
||||||
|
|
||||||
|
static uint8_t * tx_data;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// assert pre-buffer for packet type is available
|
// assert pre-buffer for packet type is available
|
||||||
#if !defined(HCI_OUTGOING_PRE_BUFFER_SIZE) || (HCI_OUTGOING_PRE_BUFFER_SIZE == 0)
|
#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
|
#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
|
// write state
|
||||||
static TX_STATE tx_state; // updated from block_sent callback
|
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 uint16_t tx_len; // 0 == no outgoing packet
|
||||||
static uint8_t packet_sent_event[] = { HCI_EVENT_TRANSPORT_PACKET_SENT, 0};
|
static uint8_t packet_sent_event[] = { HCI_EVENT_TRANSPORT_PACKET_SENT, 0};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user