From 026850667806c050d61b7ddce5f46c96df70cdc4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 19 Aug 2021 08:56:15 +1000 Subject: [PATCH] Copter: add pad fields for extended COMMAND_ACK --- ArduCopter/compassmot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduCopter/compassmot.cpp b/ArduCopter/compassmot.cpp index 93a8fd171c..a28d72e4f2 100644 --- a/ArduCopter/compassmot.cpp +++ b/ArduCopter/compassmot.cpp @@ -85,7 +85,8 @@ MAV_RESULT Copter::mavlink_compassmot(const GCS_MAVLINK &gcs_chan) } // send back initial ACK - mavlink_msg_command_ack_send(gcs_chan.get_chan(), MAV_CMD_PREFLIGHT_CALIBRATION,0); + mavlink_msg_command_ack_send(gcs_chan.get_chan(), MAV_CMD_PREFLIGHT_CALIBRATION,0, + 0, 0, 0, 0); // flash leds AP_Notify::flags.esc_calibration = true;