mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
OP-521: Fixed reversal of flight mode in GCS properly now I have hardware to
test it :)
This commit is contained in:
parent
68d6e7deba
commit
f361603a10
@ -581,7 +581,7 @@ void ConfigInputWidget::updateChannels(UAVObject* controlCommand)
|
||||
ManualControlSettings * manualSettings = ManualControlSettings::GetInstance(getObjectManager());
|
||||
ManualControlSettings::DataFields manualSettingsData = manualSettings->getData();
|
||||
uint chIndex = manualSettingsData.FlightMode;
|
||||
if (chIndex < manualSettings->FLIGHTMODEPOSITION_NUMELEM - 1) {
|
||||
if (chIndex < manualSettings->FLIGHTMODE_NONE) {
|
||||
float valueScaled;
|
||||
|
||||
int chMin = manualSettingsData.ChannelMin[chIndex];
|
||||
|
Loading…
x
Reference in New Issue
Block a user