From 3e081328289e609ff3f1ed808b3b9cbb74d861b0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 25 Jun 2018 17:31:46 +1000 Subject: [PATCH] Copter: CH_12 can be used with any HAL, not just HAL_PX4 --- ArduCopter/switches.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/ArduCopter/switches.cpp b/ArduCopter/switches.cpp index f39294f302..671b579587 100644 --- a/ArduCopter/switches.cpp +++ b/ArduCopter/switches.cpp @@ -146,10 +146,7 @@ void Copter::read_aux_switches() read_aux_switch(CH_9, aux_con.CH9_flag, g.ch9_option); read_aux_switch(CH_10, aux_con.CH10_flag, g.ch10_option); read_aux_switch(CH_11, aux_con.CH11_flag, g.ch11_option); - -#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN read_aux_switch(CH_12, aux_con.CH12_flag, g.ch12_option); -#endif } #undef read_aux_switch