Commit 6be3ff11 authored by lm's avatar lm

Changed timeout scheme for params

parent 3e4c92f4
......@@ -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
......
......@@ -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 = 800; ///< Retransmission request timeout, in milliseconds
const static int retransmissionTimeout = 250; ///< Retransmission request timeout, in milliseconds
/** @brief Activate / deactivate parameter retransmission */
void setRetransmissionGuardEnabled(bool enabled);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment