aboutsummaryrefslogtreecommitdiff
path: root/stm-uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm-uart.h')
-rw-r--r--stm-uart.h4
1 files changed, 2 insertions, 2 deletions
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);