From 5a31dcec09f41fe3e6d241829f2e734a1a6c1e07 Mon Sep 17 00:00:00 2001 From: Laurent Lalanne Date: Mon, 21 Dec 2015 00:19:33 +0100 Subject: [PATCH] LP-104 SetupWizard : Add Revo support for HoTT --- ground/gcs/src/plugins/setupwizard/pages/inputpage.cpp | 4 ++-- .../src/plugins/setupwizard/vehicleconfigurationhelper.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ground/gcs/src/plugins/setupwizard/pages/inputpage.cpp b/ground/gcs/src/plugins/setupwizard/pages/inputpage.cpp index 4b3abaf89..688b0484c 100644 --- a/ground/gcs/src/plugins/setupwizard/pages/inputpage.cpp +++ b/ground/gcs/src/plugins/setupwizard/pages/inputpage.cpp @@ -117,8 +117,8 @@ bool InputPage::restartNeeded(VehicleConfigurationSource::INPUT_TYPE selectedTyp case VehicleConfigurationSource::INPUT_SBUS: return data.RM_MainPort != HwSettings::RM_MAINPORT_SBUS; - //case VehicleConfigurationSource::INPUT_HOTT: - // return data.RM_FlexiPort != HwSettings::RM_FLEXIPORT_HOTTSUMD; + case VehicleConfigurationSource::INPUT_HOTT: + return data.RM_FlexiPort != HwSettings::RM_FLEXIPORT_HOTTSUMD; case VehicleConfigurationSource::INPUT_SRXL: return data.RM_FlexiPort != HwSettings::RM_FLEXIPORT_SRXL; diff --git a/ground/gcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp b/ground/gcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp index 102d85c48..29c942416 100644 --- a/ground/gcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp +++ b/ground/gcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp @@ -210,8 +210,8 @@ void VehicleConfigurationHelper::applyHardwareConfiguration() case VehicleConfigurationSource::INPUT_SRXL: data.RM_FlexiPort = HwSettings::RM_FLEXIPORT_SRXL; break; - //case VehicleConfigurationSource::INPUT_HOTT: - // data.RM_FlexiPort = HwSettings::RM_FLEXIPORT_HOTTSUMD; + case VehicleConfigurationSource::INPUT_HOTT: + data.RM_FlexiPort = HwSettings::RM_FLEXIPORT_HOTTSUMD; break; default: break;