Copter: move try_send_message queued_param_send up

This commit is contained in:
Peter Barker 2017-07-18 23:04:24 +10:00 committed by Francisco Ferreira
parent ad2c3d27ec
commit 7c37bb324b

View File

@ -380,11 +380,6 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id)
send_sensor_offsets(copter.ins, copter.compass, copter.barometer);
break;
case MSG_NEXT_PARAM:
CHECK_PAYLOAD_SIZE(PARAM_VALUE);
queued_param_send();
break;
case MSG_RANGEFINDER:
#if RANGEFINDER_ENABLED == ENABLED
CHECK_PAYLOAD_SIZE(RANGEFINDER);