From 4b20d6e57779050fb430a060bbc3d86b5b6639d8 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 18 Dec 2015 20:29:01 +0100 Subject: [PATCH] fix compile --- src/hci_transport_h4_dma.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hci_transport_h4_dma.c b/src/hci_transport_h4_dma.c index 2e999f098..d716e0a9a 100644 --- a/src/hci_transport_h4_dma.c +++ b/src/hci_transport_h4_dma.c @@ -267,11 +267,8 @@ static int h4_send_packet(uint8_t packet_type, uint8_t *packet, int size){ packet--; *packet = packet_type; - tx_data = packet; - tx_len = size; - tx_state = TX_W4_PACKET_SENT; - hal_uart_dma_send_block(tx_data, tx_len); + hal_uart_dma_send_block(packet, size); return 0; }