diff --git a/ArduCopter/control_modes.pde b/ArduCopter/control_modes.pde index a0178b4c24..d5560ecbfb 100644 --- a/ArduCopter/control_modes.pde +++ b/ArduCopter/control_modes.pde @@ -3,6 +3,7 @@ static void read_control_switch() { static bool switch_debouncer = false; + byte switchPosition = readSwitch(); if (oldSwitchPosition != switchPosition){