commander: add preflight check for hardfault files on SD card

This commit is contained in:
Beat Küng
2022-11-02 09:59:00 -04:00
committed by Daniel Agar
parent ab3fe543d4
commit 0996e5319f
3 changed files with 87 additions and 21 deletions
+11
View File
@@ -1010,6 +1010,17 @@ PARAM_DEFINE_INT32(COM_ARM_ARSP_EN, 1);
*/
PARAM_DEFINE_INT32(COM_ARM_SDCARD, 1);
/**
* Enable FMU SD card hardfault detection check
*
* This check detects if there are hardfault files present on the
* SD card. If so, and the parameter is enabled, arming is prevented.
*
* @group Commander
* @boolean
*/
PARAM_DEFINE_INT32(COM_ARM_HFLT_CHK, 1);
/**
* Enforced delay between arming and further navigation
*