From f2431b2868feae569d8a9e910ab3f10da0b538c8 Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Sat, 15 Jun 2013 16:39:29 +0200 Subject: [PATCH] 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. --- flight/modules/GPS/GPS.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/flight/modules/GPS/GPS.c b/flight/modules/GPS/GPS.c index 4158a4b3b..caa61260f 100644 --- a/flight/modules/GPS/GPS.c +++ b/flight/modules/GPS/GPS.c @@ -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; }