diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-05-13 12:59:46 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-05-13 12:59:46 +0200 |
commit | 4c5cee7be2804953f48c6d1d7132e48bc21373b6 (patch) | |
tree | bd2db3691eaf6650beb001a9f358a9fc5a823ec8 /stm-uart.h | |
parent | c670d7b194eea62d6fd6f9de0ae4025abe076ad4 (diff) |
rename huart1 and huart2 to huart_mgmt and huart_user
reduces risk of using the wrong one
Diffstat (limited to 'stm-uart.h')
-rw-r--r-- | stm-uart.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,8 +45,8 @@ enum stm_uart_port { STM_UART_MGMT }; -extern UART_HandleTypeDef huart1; -extern UART_HandleTypeDef huart2; +extern UART_HandleTypeDef huart_mgmt; +extern UART_HandleTypeDef huart_user; extern HAL_StatusTypeDef uart_send_char(uint8_t ch); extern HAL_StatusTypeDef uart_recv_char(uint8_t *cp); |