Skip to content

Commit 637e812

Browse files
removed extra zeros from baudrates (nasa#3469)
1 parent a8d66d2 commit 637e812

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Drv/LinuxUartDriver/LinuxUartDriver.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@ class LinuxUartDriver final : public LinuxUartDriverComponentBase {
4343
#ifdef TGT_OS_TYPE_LINUX
4444
BAUD_460K=460800,
4545
BAUD_921K=921600,
46-
BAUD_1000K=1000000000,
47-
BAUD_1152K=1152000000,
48-
BAUD_1500K=1500000000,
49-
BAUD_2000K=2000000000,
46+
BAUD_1000K=1000000,
47+
BAUD_1152K=1152000,
48+
BAUD_1500K=1500000,
49+
BAUD_2000K=2000000,
5050
#ifdef B2500000
51-
BAUD_2500K=2500000000,
51+
BAUD_2500K=2500000,
5252
#endif
5353
#ifdef B3000000
54-
BAUD_3000K=3000000000,
54+
BAUD_3000K=3000000,
5555
#endif
5656
#ifdef B3500000
57-
BAUD_3500K=3500000000,
57+
BAUD_3500K=3500000,
5858
#endif
5959
#ifdef B4000000
60-
BAUD_4000K=4000000000
60+
BAUD_4000K=4000000
6161
#endif
6262
#endif
6363
};

0 commit comments

Comments
 (0)