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

Updated Alarms.c Modified flight alarm code to NOT set SystemAlarms to an "Uninitialised" value on startup.

This allows the UAVObjectGenerator generated code to set the default values.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2301 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
andrew 2010-12-28 04:19:41 +00:00 committed by andrew
parent 2b0c75e46d
commit 2f38fe2269

View File

@ -46,8 +46,9 @@ static int32_t hasSeverity(SystemAlarmsAlarmOptions severity);
int32_t AlarmsInitialize(void)
{
lock = xSemaphoreCreateRecursiveMutex();
//do not change the default states of the alarms, let the init code generated by the uavobjectgenerator handle that
//AlarmsClearAll();
AlarmsDefaultAll();
//AlarmsDefaultAll();
return 0;
}