1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

Make it a critical error when an invalid attitude algorithm is selected

This commit is contained in:
James Cotton 2012-07-21 14:00:52 -05:00
parent 69057a1373
commit 3f4706ad4c

View File

@ -236,7 +236,7 @@ static void AttitudeTask(void *parameters)
ret_val = updateAttitudeINSGPS(first_run, false);
break;
default:
AlarmsSet(SYSTEMALARMS_ALARM_ATTITUDE,SYSTEMALARMS_ALARM_ERROR);
AlarmsSet(SYSTEMALARMS_ALARM_ATTITUDE,SYSTEMALARMS_ALARM_CRITICAL);
break;
}