From 663a1c0c9474cb82d80fef0681e96d1f123f24c2 Mon Sep 17 00:00:00 2001 From: Stefan Karlsson Date: Sun, 9 Nov 2014 23:01:34 +0100 Subject: [PATCH] OP-1604 Removed usage of AccessoryDesired in Manual Calibration Manual Calibration doesn't use the AccessoryDesired objects, but turned up the update rates anyway. --- ground/openpilotgcs/src/plugins/config/configinputwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/config/configinputwidget.cpp b/ground/openpilotgcs/src/plugins/config/configinputwidget.cpp index ea84f2af1..bfadb16c8 100644 --- a/ground/openpilotgcs/src/plugins/config/configinputwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configinputwidget.cpp @@ -1581,7 +1581,7 @@ void ConfigInputWidget::simpleCalibration(bool enable) manualSettingsData.ChannelMax[i] = manualCommandData.Channel[i]; } - fastMdata(); + fastMdataSingle(manualCommandObj, &manualControlMdata); connect(manualCommandObj, SIGNAL(objectUnpacked(UAVObject *)), this, SLOT(updateCalibration())); } else { @@ -1590,7 +1590,7 @@ void ConfigInputWidget::simpleCalibration(bool enable) manualCommandData = manualCommandObj->getData(); manualSettingsData = manualSettingsObj->getData(); - restoreMdata(); + restoreMdataSingle(manualCommandObj, &manualControlMdata); for (unsigned int i = 0; i < ManualControlCommand::CHANNEL_NUMELEM; i++) { manualSettingsData.ChannelNeutral[i] = manualCommandData.Channel[i];