1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

MultiRotor Config, Bugfix: include TriYaw channel in getChannelDescriptions

This commit is contained in:
Mike LaBranche 2012-07-16 13:08:12 -07:00 committed by James Cotton
parent 719772c98a
commit 9f67e24ee5

View File

@ -274,6 +274,8 @@ QStringList ConfigMultiRotorWidget::getChannelDescriptions()
channelDesc[multi.VTOLMotorW-1] = QString("VTOLMotorW");
if (multi.VTOLMotorE > 0 && multi.VTOLMotorE < ConfigMultiRotorWidget::CHANNEL_NUMELEM)
channelDesc[multi.VTOLMotorE-1] = QString("VTOLMotorE");
if (multi.TRIYaw > 0 && multi.TRIYaw <= ConfigMultiRotorWidget::CHANNEL_NUMELEM)
channelDesc[multi.TRIYaw-1] = QString("Tri-Yaw");
return channelDesc;
}