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
6be3ff11
Commit
6be3ff11
authored
Feb 12, 2011
by
lm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed timeout scheme for params
parent
3e4c92f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
QGCParamWidget.cc
src/ui/QGCParamWidget.cc
+4
-3
QGCParamWidget.h
src/ui/QGCParamWidget.h
+1
-1
No files found.
src/ui/QGCParamWidget.cc
View file @
6be3ff11
...
...
@@ -216,12 +216,13 @@ void QGCParamWidget::addParameter(int uas, int component, int paramCount, int pa
}
}
// Start retransmission guard
setRetransmissionGuardEnabled
(
true
);
// Mark list size as known
transmissionListSizeKnown
.
insert
(
component
,
true
);
}
// Start retransmission guard
// or reset timer
setRetransmissionGuardEnabled
(
true
);
}
// Mark this parameter as received
...
...
src/ui/QGCParamWidget.h
View file @
6be3ff11
...
...
@@ -99,7 +99,7 @@ protected:
bool
transmissionActive
;
///< Missing packets, working on list?
quint64
transmissionStarted
;
///< Timeout
QTimer
retransmissionTimer
;
///< Timer handling parameter retransmission
const
static
int
retransmissionTimeout
=
80
0
;
///< Retransmission request timeout, in milliseconds
const
static
int
retransmissionTimeout
=
25
0
;
///< Retransmission request timeout, in milliseconds
/** @brief Activate / deactivate parameter retransmission */
void
setRetransmissionGuardEnabled
(
bool
enabled
);
...
...
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