mirror of https://github.com/ArduPilot/ardupilot
Copter: allow Vcc checks on Pixhawk
This commit is contained in:
parent
5c639b8b9f
commit
d9fe0552f0
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue