1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

Revert "GCS-Config wizard"

This reverts commit 4b5c88589c415084ced4e19016ab6a307583f142.
This commit is contained in:
PT_Dreamer 2012-10-09 18:59:01 +01:00
parent 4b5c88589c
commit d1b78faeb3

View File

@ -403,16 +403,6 @@ void VehicleConfigurationHelper::applyManualControlDefaults()
cData.ChannelNumber[ManualControlSettings::CHANNELGROUPS_PITCH] = 4;
cData.ChannelNumber[ManualControlSettings::CHANNELGROUPS_FLIGHTMODE] = 5;
switch(m_configSource->getVehicleType())
{
case VehicleConfigurationSource::VEHICLE_MULTI:
cData.FlightModePosition[0]=ManualControlSettings::FLIGHTMODEPOSITION_STABILIZED1;
cData.FlightModePosition[1]=ManualControlSettings::FLIGHTMODEPOSITION_STABILIZED2;
cData.FlightModePosition[2]=ManualControlSettings::FLIGHTMODEPOSITION_STABILIZED3;
break;
default:
break;
}
mcSettings->setData(cData);
addModifiedObject(mcSettings, tr("Writing manual control defaults"));
}