1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

LP-104 SetupWizard : Add Revo support for HoTT

This commit is contained in:
Laurent Lalanne 2015-12-21 00:19:33 +01:00
parent 5dadaa9199
commit 5a31dcec09
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;