Commit e55bfe61 authored by Don Gagne's avatar Don Gagne

Fix skip first param bug

parent ad1d2ce8
......@@ -514,7 +514,7 @@ void MockLink::_handleParamRequestList(const mavlink_message_t& msg)
foreach(QString paramName, _mapParamName2Value[componentId].keys()) {
if (skipParam) {
// We've already sent the first param
skipParam = true;
skipParam = false;
paramIndex++;
} else {
char paramId[MAVLINK_MSG_ID_PARAM_VALUE_LEN];
......
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