mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
Flight/Actuator: Reset critical alarm
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1824 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
c076a695ce
commit
0dfdad4fc4
@ -171,6 +171,7 @@ static void actuatorTask(void* parameters)
|
||||
continue;
|
||||
}
|
||||
|
||||
AlarmsClear(SYSTEMALARMS_ALARM_ACTUATOR);
|
||||
|
||||
bool armed = manualControl.Armed == MANUALCONTROLCOMMAND_ARMED_TRUE;
|
||||
armed &= desired.Throttle > 0.05; //zero throttle stops the motors
|
||||
|
Loading…
x
Reference in New Issue
Block a user