Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
00f5af70
Commit
00f5af70
authored
Feb 24, 2012
by
LM
Browse files
Made sure UART rate reporting is correct even if baud rate defines do not exist
parent
ec603647
Changes
1
Hide whitespace changes
Inline
Side-by-side
thirdParty/qserialport/src/posix/termioshelper.cpp
View file @
00f5af70
...
...
@@ -389,14 +389,23 @@ QPortSettings::BaudRate TermiosHelper::baudRate() const
#ifdef B230400
case
B230400
:
return
QPortSettings
::
BAUDR_230400
;
#else
case
230400
:
return
QPortSettings
::
BAUDR_230400
;
#endif
#ifdef B460800
case
B460800
:
return
QPortSettings
::
BAUDR_460800
;
#else
case
460800
:
return
QPortSettings
::
BAUDR_460800
;
#endif
#ifdef B921600
case
B921600
:
return
QPortSettings
::
BAUDR_921600
;
#else
case
921600
:
return
QPortSettings
::
BAUDR_921600
;
#endif
#if defined(Q_OS_LINUX)
case
B500000
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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