File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -1864,14 +1864,14 @@ const (
1864
1864
CBR_128000 = 128000
1865
1865
CBR_256000 = 256000
1866
1866
1867
- DTR_CONTROL_DISABLE = 0x00
1868
- DTR_CONTROL_ENABLE = 0x01
1869
- DTR_CONTROL_HANDSHAKE = 0x02
1870
-
1871
- RTS_CONTROL_DISABLE = 0x00
1872
- RTS_CONTROL_ENABLE = 0x01
1873
- RTS_CONTROL_HANDSHAKE = 0x02
1874
- RTS_CONTROL_TOGGLE = 0x03
1867
+ DTR_CONTROL_DISABLE = 0x00000000
1868
+ DTR_CONTROL_ENABLE = 0x00000010
1869
+ DTR_CONTROL_HANDSHAKE = 0x00000020
1870
+
1871
+ RTS_CONTROL_DISABLE = 0x00000000
1872
+ RTS_CONTROL_ENABLE = 0x00001000
1873
+ RTS_CONTROL_HANDSHAKE = 0x00002000
1874
+ RTS_CONTROL_TOGGLE = 0x00003000
1875
1875
1876
1876
NOPARITY = 0
1877
1877
ODDPARITY = 1
Original file line number Diff line number Diff line change @@ -3382,15 +3382,15 @@ type BLOB struct {
3382
3382
}
3383
3383
3384
3384
type ComStat struct {
3385
- Flags [ 4 ] uint8
3385
+ Flags uint32
3386
3386
CBInQue uint32
3387
3387
CBOutQue uint32
3388
3388
}
3389
3389
3390
3390
type DCB struct {
3391
3391
DCBlength uint32
3392
3392
BaudRate uint32
3393
- Flags [ 4 ] uint8
3393
+ Flags uint32
3394
3394
wReserved uint16
3395
3395
XonLim uint16
3396
3396
XoffLim uint16
You can’t perform that action at this time.
0 commit comments