diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-08 06:27:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-08 06:27:48 +0000 |
commit | 710dcf1e6821f12af79c4ede76dcfe012cea95dd (patch) | |
tree | c92310aacfc6f8b04e296a2803a8ab3c9735f9d6 /os/hal/platforms/STM32/USARTv2/serial_lld.h | |
parent | 7a3a252875ed5a09bc62abe5a3b40c1b0f0d273e (diff) | |
download | ChibiOS-710dcf1e6821f12af79c4ede76dcfe012cea95dd.tar.gz ChibiOS-710dcf1e6821f12af79c4ede76dcfe012cea95dd.tar.bz2 ChibiOS-710dcf1e6821f12af79c4ede76dcfe012cea95dd.zip |
Fixed bug #416.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5821 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/USARTv2/serial_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/USARTv2/serial_lld.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32/USARTv2/serial_lld.h b/os/hal/platforms/STM32/USARTv2/serial_lld.h index ac18c009d..743cb0b50 100644 --- a/os/hal/platforms/STM32/USARTv2/serial_lld.h +++ b/os/hal/platforms/STM32/USARTv2/serial_lld.h @@ -216,20 +216,20 @@ typedef struct { /**
* @brief Bit rate.
*/
- uint32_t sc_speed;
+ uint32_t speed;
/* End of the mandatory fields.*/
/**
* @brief Initialization value for the CR1 register.
*/
- uint16_t sc_cr1;
+ uint32_t cr1;
/**
* @brief Initialization value for the CR2 register.
*/
- uint16_t sc_cr2;
+ uint32_t cr2;
/**
* @brief Initialization value for the CR3 register.
*/
- uint16_t sc_cr3;
+ uint32_t cr3;
} SerialConfig;
/**
|