From c0af504239d0d2023226223d9775c1db350ca013 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sun, 5 Jun 2011 09:50:25 +0000 Subject: [PATCH] update hal_uart_dma interface --- include/btstack/hal_uart_dma.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/include/btstack/hal_uart_dma.h b/include/btstack/hal_uart_dma.h index 441b7ebda..53e949e4a 100644 --- a/include/btstack/hal_uart_dma.h +++ b/include/btstack/hal_uart_dma.h @@ -41,12 +41,7 @@ #include void hal_uart_dma_init(void); - -void hal_uart_dma_enable_rx(void); -void hal_uart_dma_disable_Rx(void); - -void hal_uart_dma_send_byte(uint8_t b); -void hal_uart_dma_send_block(uint8_t *buffer, uint16_t length); - void hal_uart_dma_set_block_received( void (*block_handler)(void)); +int hal_uart_dma_set_baud(uint32_t baud); +void hal_uart_dma_send_block(uint8_t *buffer, uint16_t length); void hal_uart_dma_receive_block(uint8_t *buffer, uint16_t len);