mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-01 18:29:16 +01:00
GCS-Made the changes to vehicleconfig final and reenabled the
system settings update call.
This commit is contained in:
parent
1955e8b842
commit
bf6790f554
@ -105,7 +105,7 @@ void VehicleConfig::SetConfigData(GUIConfigDataUnion configData) {
|
|||||||
systemSettingsData.GUIConfigData[i] = configData.UAVObject[i];
|
systemSettingsData.GUIConfigData[i] = configData.UAVObject[i];
|
||||||
|
|
||||||
systemSettings->setData(systemSettingsData);
|
systemSettings->setData(systemSettingsData);
|
||||||
//systemSettings->updated();
|
systemSettings->updated();
|
||||||
|
|
||||||
//emit ConfigurationChanged();
|
//emit ConfigurationChanged();
|
||||||
}
|
}
|
||||||
@ -180,8 +180,6 @@ void VehicleConfig::setMixerType(UAVDataObject* mixer, int channel, MixerTypeEle
|
|||||||
if (mixerType >= 0 && mixerType < mixerTypeDescriptions.count())
|
if (mixerType >= 0 && mixerType < mixerTypeDescriptions.count())
|
||||||
{
|
{
|
||||||
field->setValue(mixerTypeDescriptions[mixerType]);
|
field->setValue(mixerTypeDescriptions[mixerType]);
|
||||||
// mixer->updated();
|
|
||||||
qDebug()<<"updateMixer";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -229,7 +227,6 @@ void VehicleConfig::setMixerVectorValue(UAVDataObject* mixer, int channel, Mixer
|
|||||||
|
|
||||||
if (field) {
|
if (field) {
|
||||||
field->setDouble(value, elementName);
|
field->setDouble(value, elementName);
|
||||||
//mixer->updated();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user