mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
OP-1604 Removed usage of AccessoryDesired in Manual Calibration
Manual Calibration doesn't use the AccessoryDesired objects, but turned up the update rates anyway.
This commit is contained in:
parent
fd801e3637
commit
663a1c0c94
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user