mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-05 21:52:10 +01:00
MultiRotor Config, Bugfix: include TriYaw channel in getChannelDescriptions
This commit is contained in:
parent
de2cee1b7f
commit
9507a79c6d
@ -274,6 +274,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