diff options
author | Paul Selkirk <paul@psgd.org> | 2016-04-24 13:05:40 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-04-24 13:05:40 -0400 |
commit | e2e066e137465343cb5143a045196a3e5bddc47f (patch) | |
tree | 67e5eacca7ca710a54e1bbcab9f5f6e81f1ad2ba /stm-uart.h | |
parent | a59302fda685722cd003045359a184ad751045c0 (diff) |
This time for sure - async receive, and everything that flows from that.
Diffstat (limited to 'stm-uart.h')
-rw-r--r-- | stm-uart.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |