mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
MultiRotor Config, Bugfix: include TriYaw channel in getChannelDescriptions
This commit is contained in:
parent
4a13554e1f
commit
faa7fafcbd
@ -253,6 +253,8 @@ QStringList ConfigMultiRotorWidget::getChannelDescriptions()
|
|||||||
channelDesc[multi.VTOLMotorW-1] = QString("VTOLMotorW");
|
channelDesc[multi.VTOLMotorW-1] = QString("VTOLMotorW");
|
||||||
if (multi.VTOLMotorE > 0 && multi.VTOLMotorE <= ConfigMultiRotorWidget::CHANNEL_NUMELEM)
|
if (multi.VTOLMotorE > 0 && multi.VTOLMotorE <= ConfigMultiRotorWidget::CHANNEL_NUMELEM)
|
||||||
channelDesc[multi.VTOLMotorE-1] = QString("VTOLMotorE");
|
channelDesc[multi.VTOLMotorE-1] = QString("VTOLMotorE");
|
||||||
|
if (multi.TRIYaw > 0 && multi.TRIYaw <= ConfigMultiRotorWidget::CHANNEL_NUMELEM)
|
||||||
|
channelDesc[multi.TRIYaw-1] = QString("Tri-Yaw");
|
||||||
|
|
||||||
return channelDesc;
|
return channelDesc;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user