mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Revert "GCS-Config wizard"
This reverts commit 4b5c88589c415084ced4e19016ab6a307583f142.
This commit is contained in:
parent
4b5c88589c
commit
d1b78faeb3
@ -403,16 +403,6 @@ void VehicleConfigurationHelper::applyManualControlDefaults()
|
|||||||
cData.ChannelNumber[ManualControlSettings::CHANNELGROUPS_PITCH] = 4;
|
cData.ChannelNumber[ManualControlSettings::CHANNELGROUPS_PITCH] = 4;
|
||||||
cData.ChannelNumber[ManualControlSettings::CHANNELGROUPS_FLIGHTMODE] = 5;
|
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);
|
mcSettings->setData(cData);
|
||||||
addModifiedObject(mcSettings, tr("Writing manual control defaults"));
|
addModifiedObject(mcSettings, tr("Writing manual control defaults"));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user