aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-10-28 07:10:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-10-28 07:10:50 +0000
commitdc09d4cc0df1c66f9c2b466b95d80ab9fe86c1ae (patch)
tree2decfe09bbf7d445d08b25b6bf51c4c1432cc431 /os
parenta5de0f57f49d16166069905927df1422e53d4c1f (diff)
downloadChibiOS-dc09d4cc0df1c66f9c2b466b95d80ab9fe86c1ae.tar.gz
ChibiOS-dc09d4cc0df1c66f9c2b466b95d80ab9fe86c1ae.tar.bz2
ChibiOS-dc09d4cc0df1c66f9c2b466b95d80ab9fe86c1ae.zip
Fixed bug 3579434.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4780 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-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;
/**