1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

OP-466: Make the test output panel work when there is not a valid mixer

configured.  However unlike previous patch keeps alarms showing so you will be
unable to arm normally.
This commit is contained in:
James Cotton 2011-05-10 02:43:55 -05:00
parent d140d9c1fc
commit 163d41fb60

View File

@ -182,7 +182,7 @@ static void actuatorTask(void* parameters)
nMixers ++;
}
}
if(nMixers < 2) //Nothing can fly with less than two mixers.
if((nMixers < 2) && !ActuatorCommandReadOnly(dummy)) //Nothing can fly with less than two mixers.
{
setFailsafe(); // So that channels like PWM buzzer keep working
continue;