Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
85f32011
Commit
85f32011
authored
Jul 06, 2010
by
Ken Thomases
Committed by
Alexandre Julliard
Jul 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix set_baud_rate for high rates for non-Linux (bad copy/paste).
parent
0190b6cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
serial.c
dlls/ntdll/serial.c
+4
-4
No files found.
dlls/ntdll/serial.c
View file @
85f32011
...
@@ -528,17 +528,17 @@ static NTSTATUS set_baud_rate(int fd, const SERIAL_BAUD_RATE* sbr)
...
@@ -528,17 +528,17 @@ static NTSTATUS set_baud_rate(int fd, const SERIAL_BAUD_RATE* sbr)
case
CBR_38400
:
port
.
c_ospeed
=
B38400
;
break
;
case
CBR_38400
:
port
.
c_ospeed
=
B38400
;
break
;
#ifdef B57600
#ifdef B57600
case
57600
:
case
57600
:
case
CBR_57600
:
port
.
c_
cflag
|
=
B57600
;
break
;
case
CBR_57600
:
port
.
c_
ospeed
=
B57600
;
break
;
#endif
#endif
#ifdef B115200
#ifdef B115200
case
115200
:
case
115200
:
case
CBR_115200
:
port
.
c_
cflag
|
=
B115200
;
break
;
case
CBR_115200
:
port
.
c_
ospeed
=
B115200
;
break
;
#endif
#endif
#ifdef B230400
#ifdef B230400
case
230400
:
port
.
c_
cflag
|
=
B230400
;
break
;
case
230400
:
port
.
c_
ospeed
=
B230400
;
break
;
#endif
#endif
#ifdef B460800
#ifdef B460800
case
460800
:
port
.
c_
cflag
|
=
B460800
;
break
;
case
460800
:
port
.
c_
ospeed
=
B460800
;
break
;
#endif
#endif
default:
default:
ERR
(
"baudrate %d
\n
"
,
sbr
->
BaudRate
);
ERR
(
"baudrate %d
\n
"
,
sbr
->
BaudRate
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment