From dc09d4cc0df1c66f9c2b466b95d80ab9fe86c1ae Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 28 Oct 2012 07:10:50 +0000 Subject: [PATCH] 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 +++--- readme.txt | 1 + 2 files changed, 4 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; /** diff --git a/readme.txt b/readme.txt index cf0255124..9b91d0786 100644 --- a/readme.txt +++ b/readme.txt @@ -82,6 +82,7 @@ ***************************************************************************** *** 2.5.1 *** +- FIX: Fixed wrong type for UART config registers (bug 3579434). - FIX: Fixed various typos and wrong limits in the STM32F4/F2 HAL driver (bug 3578944)(backported to 2.4.3). - FIX: Fixed ARM CMx crt0.c fails at low optimization levels (bug 3578927)