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
01f8286b
Commit
01f8286b
authored
Nov 10, 2017
by
DonLakeFlyer
Browse files
Fix reboot
parent
16953f67
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VehicleSetup/Bootloader.cc
View file @
01f8286b
...
...
@@ -631,5 +631,9 @@ Error:
bool
Bootloader
::
reboot
(
QSerialPort
*
port
)
{
return
_write
(
port
,
PROTO_BOOT
)
&&
_write
(
port
,
PROTO_EOC
);
bool
success
=
_write
(
port
,
PROTO_BOOT
)
&&
_write
(
port
,
PROTO_EOC
);
if
(
success
)
{
port
->
waitForBytesWritten
(
100
);
}
return
success
;
}
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