PreFlightCheck: Detect missing FMU SD card

Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
Claudio Micheli
2021-02-05 20:14:48 +01:00
committed by Lorenz Meier
parent 72e34e02ef
commit d4bea8323f
5 changed files with 91 additions and 0 deletions
+14
View File
@@ -985,3 +985,17 @@ PARAM_DEFINE_FLOAT(COM_LKDOWN_TKO, 3.0f);
* @value 1 Enabled
*/
PARAM_DEFINE_INT32(COM_ARM_ARSP_EN, 1);
/**
* Enable FMU SD card detection check
*
* This check detects if the FMU SD card is missing.
* Depending on the value of the parameter, the check can be
* disabled, warn only or deny arming.
*
* @group Commander
* @value 0 Disabled
* @value 1 Warning only
* @value 2 Enforce SD card presence
*/
PARAM_DEFINE_INT32(COM_ARM_SDCARD, 1);