Copter: move sending of send_pid_tuning up

This commit is contained in:
Peter Barker 2019-03-01 10:32:26 +11:00 committed by Andrew Tridgell
parent 166f246744
commit eed73749f9
2 changed files with 1 additions and 6 deletions

View File

@ -268,11 +268,6 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id)
// unused
break;
case MSG_PID_TUNING:
CHECK_PAYLOAD_SIZE(PID_TUNING);
send_pid_tuning();
break;
case MSG_ADSB_VEHICLE:
#if ADSB_ENABLED == ENABLED
CHECK_PAYLOAD_SIZE(ADSB_VEHICLE);

View File

@ -64,6 +64,6 @@ private:
int16_t vfr_hud_throttle() const override;
float vfr_hud_alt() const override;
void send_pid_tuning();
void send_pid_tuning() override;
};