1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-28 17:54:15 +01:00

GCS-Made the changes to vehicleconfig final and reenabled the

system settings update call.
This commit is contained in:
PT_Dreamer 2012-07-27 18:42:20 +01:00 committed by James Cotton
parent 1955e8b842
commit bf6790f554

View File

@ -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();
} }
} }
} }