From dc09d4cc0df1c66f9c2b466b95d80ab9fe86c1ae Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 28 Oct 2012 07:10:50 +0000 Subject: Fixed bug 3579434. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4780 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/USARTv2/uart_lld.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/hal/platforms') 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; /** -- cgit v1.2.3