From 4c5cee7be2804953f48c6d1d7132e48bc21373b6 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Fri, 13 May 2016 12:59:46 +0200 Subject: rename huart1 and huart2 to huart_mgmt and huart_user reduces risk of using the wrong one --- stm-uart.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stm-uart.h') diff --git a/stm-uart.h b/stm-uart.h index e934068..4334d27 100644 --- a/stm-uart.h +++ b/stm-uart.h @@ -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); -- cgit v1.2.3