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:
parent
9afedc0139
commit
8d8144f233
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user