File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ Termios magic constants for the following baud rates:
2
+ - B500000
3
+ - B576000
4
+ - B921600
5
+ - B1000000
6
+ - B1152000
7
+ - B1500000
8
+ - B2000000
9
+ - B2500000
10
+ - B3000000
11
+ - B3500000
12
+ - B4000000
13
+ Patch by Andrey Smirnov
Original file line number Diff line number Diff line change @@ -613,6 +613,39 @@ static struct constant {
613
613
#ifdef B460800
614
614
{"B460800" , B460800 },
615
615
#endif
616
+ #ifdef B500000
617
+ {"B500000" , B500000 },
618
+ #endif
619
+ #ifdef B576000
620
+ { "B576000" , B576000 },
621
+ #endif
622
+ #ifdef B921600
623
+ { "B921600" , B921600 },
624
+ #endif
625
+ #ifdef B1000000
626
+ { "B1000000" , B1000000 },
627
+ #endif
628
+ #ifdef B1152000
629
+ { "B1152000" , B1152000 },
630
+ #endif
631
+ #ifdef B1500000
632
+ { "B1500000" , B1500000 },
633
+ #endif
634
+ #ifdef B2000000
635
+ { "B2000000" , B2000000 },
636
+ #endif
637
+ #ifdef B2500000
638
+ { "B2500000" , B2500000 },
639
+ #endif
640
+ #ifdef B3000000
641
+ { "B3000000" , B3000000 },
642
+ #endif
643
+ #ifdef B3500000
644
+ { "B3500000" , B3500000 },
645
+ #endif
646
+ #ifdef B4000000
647
+ { "B4000000" , B4000000 },
648
+ #endif
616
649
#ifdef CBAUD
617
650
{"CBAUD" , CBAUD },
618
651
#endif
You can’t perform that action at this time.
0 commit comments