VRBRAIN: added ignore board voltage check for VRBRAIN boards.

This commit is contained in:
Emile Castelnuovo 2014-04-07 15:41:52 +02:00 committed by Andrew Tridgell
parent 1d28acd182
commit a9bd4e9da1

View File

@ -317,7 +317,7 @@ static void pre_arm_checks(bool display_failure)
return;
}
}
#if CONFIG_HAL_BOARD != HAL_BOARD_VRBRAIN
#ifndef CONFIG_ARCH_BOARD_PX4FMU_V1
// check board 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)
return;
}
}
#endif
#endif
// check various parameter values