aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/USARTv2/uart_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/USARTv2/uart_lld.h')
-rw-r--r--os/hal/platforms/STM32/USARTv2/uart_lld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/USARTv2/uart_lld.h b/os/hal/platforms/STM32/USARTv2/uart_lld.h
index 29a5e85da..57fbfd975 100644
--- a/os/hal/platforms/STM32/USARTv2/uart_lld.h
+++ b/os/hal/platforms/STM32/USARTv2/uart_lld.h
@@ -340,15 +340,15 @@ typedef struct {
/**
* @brief Initialization value for the CR1 register.
*/
- uint16_t cr1;
+ uint32_t cr1;
/**
* @brief Initialization value for the CR2 register.
*/
- uint16_t cr2;
+ uint32_t cr2;
/**
* @brief Initialization value for the CR3 register.
*/
- uint16_t cr3;
+ uint32_t cr3;
} UARTConfig;
/**