From a10ed370febb7168246acebc6cc8492a173170ce Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 1 Nov 2020 16:10:30 +0100 Subject: Complete Write Functions in USART Lib --- libraries/usart.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries/usart.h') diff --git a/libraries/usart.h b/libraries/usart.h index 8e0d98c..4cc9712 100644 --- a/libraries/usart.h +++ b/libraries/usart.h @@ -16,8 +16,8 @@ typedef struct USART{ - FIFO rx_fifo; - FIFO tx_fifo; + FIFO rx_fifo; + FIFO tx_fifo; } USART; @@ -31,7 +31,7 @@ void usart_init(USART *usart, uint8_t *rx_buffer, uint16_t rx_buffersize, uint8_ uint16_t usart_write_bytes(USART *usart, uint8_t *data_source, uint16_t data_length); uint16_t usart_write(USART *usart, char *str); -//uint16_t usart_writeln(USART *usart, char *str); +uint16_t usart_writeln(USART *usart, char *str); // read functions -- cgit v1.2.3-70-g09d2