From e7c5c587ae538be3931c77330e401243f1ba36b3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 18:54:35 -0500 Subject: [PATCH] spelling: fractional Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/drivers/stm32f2/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fw/drivers/stm32f2/uart.c b/src/fw/drivers/stm32f2/uart.c index 6f1520c6..1ea42ed6 100644 --- a/src/fw/drivers/stm32f2/uart.c +++ b/src/fw/drivers/stm32f2/uart.c @@ -138,7 +138,7 @@ void uart_set_baud_rate(UARTDevice *dev, uint32_t baud_rate) { // We need to calculate the divider to get from the clock frequency down to the sampling // frequency (samples * baud_rate) and store it in USART_BBR as a fixed-point number with a - // franctional component equal to the number of samples per symbol. In other words, if OVER8=0, + // fractional component equal to the number of samples per symbol. In other words, if OVER8=0, // the fractional component will be 4 bits, and if OVER8=1, it will be 3 bits. // The formula works out to: DIV = f_clk / (samples * BAUD)