diff options
| author | [email protected] <[email protected]> | 2012-06-04 03:20:12 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-06-04 03:20:12 +0000 |
| commit | a2c17856483db50a32462df6a8bdc0e25bb715f4 (patch) | |
| tree | e53e9b5a8203b97812ad0d82ff5def690d4ca506 | |
| parent | 43f2bfc0135c20cec546290d83cf5a1dc7c820f5 (diff) | |
fixed a eclipse compiling warning:
in fm3_uart.c Line 599
case label value exceeds maximum value for type
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2152 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | components/drivers/include/drivers/serial.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/drivers/include/drivers/serial.h b/components/drivers/include/drivers/serial.h index 12ecb0bb9a..eb328c98ab 100644 --- a/components/drivers/include/drivers/serial.h +++ b/components/drivers/include/drivers/serial.h @@ -27,10 +27,10 @@ #define DATA_BITS_8 8
#define DATA_BITS_9 9
-#define STOP_BITS_1 1
-#define STOP_BITS_2 2
-#define STOP_BITS_3 3
-#define STOP_BITS_4 4
+#define STOP_BITS_1 0
+#define STOP_BITS_2 1
+#define STOP_BITS_3 2
+#define STOP_BITS_4 3
#define PARITY_NONE 0
#define PARITY_ODD 1
|
