1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-22 14:19:42 +01:00

OP-237 Actuator: Woops, typo

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2367 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2011-01-10 01:13:55 +00:00 committed by peabody124
parent b173d74821
commit aae4d113f5

View File

@ -203,7 +203,7 @@ static void actuatorTask(void* parameters)
}else
{
// For motors when armed keep above neutral
if((mixer[ct].type == MIXERSETTINGS_MIXER1TYPE_MOTOR) && (status[ct] < 0))
if((mixers[ct].type == MIXERSETTINGS_MIXER1TYPE_MOTOR) && (status[ct] < 0))
status[ct] = 0;
command.Channel[ct] = scaleChannel(status[ct],