Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
00f5af70
Commit
00f5af70
authored
Feb 24, 2012
by
LM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
termioshelper.cpp
thirdParty/qserialport/src/posix/termioshelper.cpp
+9
-0
No files found.
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
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