1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

GPS module is builtin so there is no way to shut the gps alarm when gps is not used.

This change does remove any alarm when no port is configured for gps.
Things depending on GPS will continue to raise their own alarm when no gps data are feed.
This commit is contained in:
Alessio Morale 2013-06-15 16:39:29 +02:00
parent 354fdf4bdf
commit f2431b2868

View File

@ -112,8 +112,6 @@ int32_t GPSStart(void)
PIOS_TASK_MONITOR_RegisterTask(TASKINFO_RUNNING_GPS, gpsTaskHandle);
return 0;
}
AlarmsSet(SYSTEMALARMS_ALARM_GPS, SYSTEMALARMS_ALARM_ERROR);
}
return -1;
}