1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

OP-441 Prevent double alarm set ( setFailsafe() already sets alarm to CRITICAL )

This commit is contained in:
Corvus Corax 2011-05-02 18:00:12 +02:00
parent 9afedc0139
commit 8d8144f233

View File

@ -184,7 +184,6 @@ static void actuatorTask(void* parameters)
}
if(nMixers < 2) //Nothing can fly with less than two mixers.
{
AlarmsSet(SYSTEMALARMS_ALARM_ACTUATOR, SYSTEMALARMS_ALARM_WARNING);
setFailsafe(); // So that channels like PWM buzzer keep working
continue;
}