mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Plane: use common send_queued_parameters()
This commit is contained in:
parent
22791b7272
commit
2706c9d57a
@ -810,14 +810,7 @@ GCS_MAVLINK_Plane::data_stream_send(void)
|
||||
handle_log_send(plane.DataFlash);
|
||||
}
|
||||
|
||||
if (_queued_parameter != nullptr) {
|
||||
if (streamRates[STREAM_PARAMS].get() <= 0) {
|
||||
streamRates[STREAM_PARAMS].set(10);
|
||||
}
|
||||
if (stream_trigger(STREAM_PARAMS)) {
|
||||
send_message(MSG_NEXT_PARAM);
|
||||
}
|
||||
}
|
||||
send_queued_parameters();
|
||||
|
||||
if (plane.gcs_out_of_time) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user