Skip to content
Snippets Groups Projects
Commit a9bd4e9d authored by Emile Castelnuovo's avatar Emile Castelnuovo Committed by Andrew Tridgell
Browse files

VRBRAIN: added ignore board voltage check for VRBRAIN boards.

parent 1d28acd1
No related branches found
No related tags found
No related merge requests found
...@@ -317,7 +317,7 @@ static void pre_arm_checks(bool display_failure) ...@@ -317,7 +317,7 @@ static void pre_arm_checks(bool display_failure)
return; return;
} }
} }
#if CONFIG_HAL_BOARD != HAL_BOARD_VRBRAIN
#ifndef CONFIG_ARCH_BOARD_PX4FMU_V1 #ifndef CONFIG_ARCH_BOARD_PX4FMU_V1
// check board voltage // check board voltage
if ((g.arming_check == ARMING_CHECK_ALL) || (g.arming_check & ARMING_CHECK_VOLTAGE)) { if ((g.arming_check == ARMING_CHECK_ALL) || (g.arming_check & ARMING_CHECK_VOLTAGE)) {
...@@ -328,6 +328,7 @@ static void pre_arm_checks(bool display_failure) ...@@ -328,6 +328,7 @@ static void pre_arm_checks(bool display_failure)
return; return;
} }
} }
#endif
#endif #endif
// check various parameter values // check various parameter values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment