From d1b78faeb324cabe8c785415d6c530c385d79b90 Mon Sep 17 00:00:00 2001 From: PT_Dreamer Date: Tue, 9 Oct 2012 18:59:01 +0100 Subject: [PATCH] Revert "GCS-Config wizard" This reverts commit 4b5c88589c415084ced4e19016ab6a307583f142. --- .../plugins/setupwizard/vehicleconfigurationhelper.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp b/ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp index eb31c284a..709810bce 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp @@ -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")); }