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
6623bd76
Commit
6623bd76
authored
Aug 28, 2013
by
tstellanova
Browse files
stop timer when maxSilenceTimeout is exceeded to avoid infinite loop
parent
30be74b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/uas/UASParameterCommsMgr.cc
View file @
6623bd76
...
...
@@ -253,6 +253,8 @@ void UASParameterCommsMgr::silenceTimerExpired()
qDebug
()
<<
"maxSilenceTimeout exceeded: "
<<
totalElapsed
;
int
missingReads
,
missingWrites
;
clearRetransmissionLists
(
missingReads
,
missingWrites
);
silenceTimer
.
stop
();
lastSilenceTimerReset
=
curTime
;
setParameterStatusMsg
(
tr
(
"TIMEOUT: Abandoning %1 reads %2 writes after %3 seconds"
).
arg
(
missingReads
).
arg
(
missingWrites
).
arg
(
totalElapsed
/
1000
));
}
else
{
...
...
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