commit | 4e5f9def0cbb13f0a492aa975b3d7dd99d59fcfb | [log] [tgz] |
---|---|---|
author | Vincent Poulailleau <vpoulailleau@gmail.com> | Thu May 02 13:09:23 2024 +0200 |
committer | KRASTM <156921537+KRASTM@users.noreply.github.com> | Tue May 07 09:21:46 2024 +0100 |
tree | 11ea62726cf04a54fc18023cc6cf6e6df7b2f463 | |
parent | db7e4a987cc58023a53a255f8617f6e3fb76731b [diff] |
Fix misleading comment Fix misleading comment: Disable instead of Enable
diff --git a/Src/stm32h7xx_hal_uart_ex.c b/Src/stm32h7xx_hal_uart_ex.c index 6e5c0b2..bb45995 100644 --- a/Src/stm32h7xx_hal_uart_ex.c +++ b/Src/stm32h7xx_hal_uart_ex.c
@@ -576,7 +576,7 @@ /* Disable UART */ __HAL_UART_DISABLE(huart); - /* Enable FIFO mode */ + /* Disable FIFO mode */ CLEAR_BIT(tmpcr1, USART_CR1_FIFOEN); huart->FifoMode = UART_FIFOMODE_DISABLE;