diff --git a/src/comm/MockLink.cc b/src/comm/MockLink.cc index 102c0c7d431ae341eac98aeb8d419951d14cbccc..ed7494e0dacc280b19ac93db1080b1ef555aea64 100644 --- a/src/comm/MockLink.cc +++ b/src/comm/MockLink.cc @@ -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];