From c30cfa21c5d5ebaec6b981e73a0a6a1c49304897 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 29 Jul 2013 16:46:25 +0900 Subject: [PATCH] Copter: resolve compiler warning re unused variable --- ArduCopter/control_modes.pde | 2 -- 1 file changed, 2 deletions(-) diff --git a/ArduCopter/control_modes.pde b/ArduCopter/control_modes.pde index df0a734223..ff8a82db38 100644 --- a/ArduCopter/control_modes.pde +++ b/ArduCopter/control_modes.pde @@ -86,8 +86,6 @@ static void read_aux_switches() // init_aux_switches - invoke configured actions at start-up for aux function where it is safe to do so static void init_aux_switches() { - uint8_t switch_position; - // set the CH7 flag ap_system.CH7_flag = read_3pos_switch(g.rc_7.radio_in); ap_system.CH8_flag = read_3pos_switch(g.rc_8.radio_in);