From d9fe0552f09697b3f8551555647c6797aba4aeb3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 Sep 2013 13:43:06 +1000 Subject: [PATCH] Copter: allow Vcc checks on Pixhawk --- ArduCopter/motors.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/motors.pde b/ArduCopter/motors.pde index 03f1c0a7b6..b7b2b2db4e 100644 --- a/ArduCopter/motors.pde +++ b/ArduCopter/motors.pde @@ -303,7 +303,7 @@ static void pre_arm_checks(bool display_failure) } #endif -#if CONFIG_HAL_BOARD != HAL_BOARD_PX4 +#ifndef CONFIG_ARCH_BOARD_PX4FMU_V1 // check board voltage if(board_voltage() < BOARD_VOLTAGE_MIN || board_voltage() > BOARD_VOLTAGE_MAX) { if (display_failure) {