diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-04-13 10:53:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-04-13 10:53:48 +0000 |
commit | 9e2c8595c8c07d14a2238019a33e00bc08928c92 (patch) | |
tree | 691dc10ee1a14c7af0272069c3d0094bbca236b7 /ports/ARMCM3-STM32F103/stm32_serial.h | |
parent | 18030639fb09e63627c975186896426a2d9c97de (diff) | |
download | ChibiOS-9e2c8595c8c07d14a2238019a33e00bc08928c92.tar.gz ChibiOS-9e2c8595c8c07d14a2238019a33e00bc08928c92.tar.bz2 ChibiOS-9e2c8595c8c07d14a2238019a33e00bc08928c92.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@262 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARMCM3-STM32F103/stm32_serial.h')
-rw-r--r-- | ports/ARMCM3-STM32F103/stm32_serial.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/ARMCM3-STM32F103/stm32_serial.h b/ports/ARMCM3-STM32F103/stm32_serial.h index 0d05c7f12..d14270a52 100644 --- a/ports/ARMCM3-STM32F103/stm32_serial.h +++ b/ports/ARMCM3-STM32F103/stm32_serial.h @@ -67,10 +67,10 @@ #define CR2_CPOL (1 << 10)
#define CR2_CLKEN (1 << 11)
#define CR2_STOP_MASK (3 << 12)
-#define CR2_STOP1_BITS (0 << 12
-#define CR2_STOP0P5_BITS (1 << 12
-#define CR2_STOP2_BITS (2 << 12
-#define CR2_STOP1P5_BITS (3 << 12
+#define CR2_STOP1_BITS (0 << 12)
+#define CR2_STOP0P5_BITS (1 << 12)
+#define CR2_STOP2_BITS (2 << 12)
+#define CR2_STOP1P5_BITS (3 << 12)
#define CR2_LINEN (1 << 14)
#define CR3_EIE (1 << 0)
|