Copter: allow Vcc checks on Pixhawk

This commit is contained in:
Andrew Tridgell 2013-09-12 13:43:06 +10:00
parent 5c639b8b9f
commit d9fe0552f0
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ static void pre_arm_checks(bool display_failure)
} }
#endif #endif
#if CONFIG_HAL_BOARD != HAL_BOARD_PX4 #ifndef CONFIG_ARCH_BOARD_PX4FMU_V1
// check board voltage // check board voltage
if(board_voltage() < BOARD_VOLTAGE_MIN || board_voltage() > BOARD_VOLTAGE_MAX) { if(board_voltage() < BOARD_VOLTAGE_MIN || board_voltage() > BOARD_VOLTAGE_MAX) {
if (display_failure) { if (display_failure) {