From e2e066e137465343cb5143a045196a3e5bddc47f Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Sun, 24 Apr 2016 13:05:40 -0400 Subject: This time for sure - async receive, and everything that flows from that. --- stm-uart.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stm-uart.h') diff --git a/stm-uart.h b/stm-uart.h index 67e9d75..caf87b3 100644 --- a/stm-uart.h +++ b/stm-uart.h @@ -39,6 +39,8 @@ #define USART2_BAUD_RATE 115200 +extern UART_HandleTypeDef huart2; + extern HAL_StatusTypeDef uart_send_char(uint8_t ch); extern HAL_StatusTypeDef uart_recv_char(uint8_t *cp); extern HAL_StatusTypeDef uart_send_string(char *s); -- cgit v1.2.3