From cfe057c573c6b3e322b35fd3538b451d9d7fa678 Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Mon, 3 Jun 2013 20:30:41 +0200 Subject: [PATCH] OP-988 Raise SYSTEMALARMS_ALARM_CRITICAL when no gps port is configured, the same alarm as no gps case. +review OPReview --- flight/modules/GPS/GPS.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/modules/GPS/GPS.c b/flight/modules/GPS/GPS.c index 0fdb9142e..fe5040133 100644 --- a/flight/modules/GPS/GPS.c +++ b/flight/modules/GPS/GPS.c @@ -113,7 +113,7 @@ int32_t GPSStart(void) return 0; } - AlarmsSet(SYSTEMALARMS_ALARM_GPS, SYSTEMALARMS_ALARM_CRITICAL); + AlarmsSet(SYSTEMALARMS_ALARM_GPS, SYSTEMALARMS_ALARM_ERROR); } return -1; }