Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
deltaflight
deltaflight
Commits
98f7549a
Commit
98f7549a
authored
May 31, 2015
by
Dominic Clifton
Browse files
Fix `serial` command handling of telemetry baud rates. Set min blackbox
bad rate to be 19200 to match the confiurator.
parent
ca22fb0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/io/serial_cli.c
View file @
98f7549a
...
...
@@ -631,13 +631,13 @@ static void cliSerial(char *cmdline)
portConfig
.
gps_baudrateIndex
=
baudRateIndex
;
break
;
case
2
:
if
(
baudRateIndex
!=
BAUD_AUTO
||
baudRateIndex
>
BAUD_115200
)
{
if
(
baudRateIndex
!=
BAUD_AUTO
&&
baudRateIndex
>
BAUD_115200
)
{
continue
;
}
portConfig
.
telemetry_baudrateIndex
=
baudRateIndex
;
break
;
case
3
:
if
(
baudRateIndex
<
BAUD_
96
00
||
baudRateIndex
>
BAUD_250000
)
{
if
(
baudRateIndex
<
BAUD_
192
00
||
baudRateIndex
>
BAUD_250000
)
{
continue
;
}
portConfig
.
blackbox_baudrateIndex
=
baudRateIndex
;
...
...
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