mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +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.
|
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
|
setFailsafe(); // So that channels like PWM buzzer keep working
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user