mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
OP-1346 GCS was not allowing setting the ResponseTime for the Collective input channel.
Worse GCS would then shift the values (Accessory0 would go to Collective, Accessory1 to Accessory0, Accessory2 to Accessory1 and Accessory2 would always be zero)
This commit is contained in:
parent
6804e5fe8e
commit
e9f14544f9
@ -110,6 +110,7 @@ ConfigInputWidget::ConfigInputWidget(QWidget *parent) :
|
|||||||
case ManualControlSettings::CHANNELGROUPS_ROLL:
|
case ManualControlSettings::CHANNELGROUPS_ROLL:
|
||||||
case ManualControlSettings::CHANNELGROUPS_PITCH:
|
case ManualControlSettings::CHANNELGROUPS_PITCH:
|
||||||
case ManualControlSettings::CHANNELGROUPS_YAW:
|
case ManualControlSettings::CHANNELGROUPS_YAW:
|
||||||
|
case ManualControlSettings::CHANNELGROUPS_COLLECTIVE:
|
||||||
case ManualControlSettings::CHANNELGROUPS_ACCESSORY0:
|
case ManualControlSettings::CHANNELGROUPS_ACCESSORY0:
|
||||||
case ManualControlSettings::CHANNELGROUPS_ACCESSORY1:
|
case ManualControlSettings::CHANNELGROUPS_ACCESSORY1:
|
||||||
case ManualControlSettings::CHANNELGROUPS_ACCESSORY2:
|
case ManualControlSettings::CHANNELGROUPS_ACCESSORY2:
|
||||||
@ -118,7 +119,6 @@ ConfigInputWidget::ConfigInputWidget(QWidget *parent) :
|
|||||||
break;
|
break;
|
||||||
case ManualControlSettings::CHANNELGROUPS_THROTTLE:
|
case ManualControlSettings::CHANNELGROUPS_THROTTLE:
|
||||||
case ManualControlSettings::CHANNELGROUPS_FLIGHTMODE:
|
case ManualControlSettings::CHANNELGROUPS_FLIGHTMODE:
|
||||||
case ManualControlSettings::CHANNELGROUPS_COLLECTIVE:
|
|
||||||
form->ui->channelResponseTime->setVisible(false);
|
form->ui->channelResponseTime->setVisible(false);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user