aboutsummaryrefslogtreecommitdiff
path: root/stm-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm-init.c')
-rw-r--r--stm-init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stm-init.c b/stm-init.c
index a2c04d8..f6b3aa1 100644
--- a/stm-init.c
+++ b/stm-init.c
@@ -78,8 +78,6 @@ void stm_init(void)
/* USART2 init function */
static void MX_USART2_UART_Init(void)
{
- extern UART_HandleTypeDef huart2;
-
huart2.Instance = USART2;
huart2.Init.BaudRate = USART2_BAUD_RATE;
huart2.Init.WordLength = UART_WORDLENGTH_8B;