APM: send right parameter index when possible

This commit is contained in:
Andrew Tridgell 2012-09-22 16:53:12 +10:00
parent e6c6161e1a
commit 0a1f428669
1 changed files with 2 additions and 1 deletions

View File

@ -1328,7 +1328,8 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
param_name, param_name,
value, value,
mav_var_type(p_type), mav_var_type(p_type),
-1, -1); _count_parameters(),
packet.param_index);
break; break;
} }