From 672b9ce961ac28b5d9ba40895a0ba8f942425675 Mon Sep 17 00:00:00 2001 From: peabody124 Date: Wed, 2 Mar 2011 01:25:23 +0000 Subject: [PATCH] Convert failure to mount SD card to an error so you can't arm with an unconfigured quad git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2929 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/Modules/System/systemmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/Modules/System/systemmod.c b/flight/Modules/System/systemmod.c index 1bad95f6f..601a05382 100644 --- a/flight/Modules/System/systemmod.c +++ b/flight/Modules/System/systemmod.c @@ -321,7 +321,7 @@ static void updateSystemAlarms() #if defined(PIOS_INCLUDE_SDCARD) // Check for SD card if (PIOS_SDCARD_IsMounted() == 0) { - AlarmsSet(SYSTEMALARMS_ALARM_SDCARD, SYSTEMALARMS_ALARM_WARNING); + AlarmsSet(SYSTEMALARMS_ALARM_SDCARD, SYSTEMALARMS_ALARM_ERROR); } else { AlarmsClear(SYSTEMALARMS_ALARM_SDCARD); }