From 6513b12eb21e9ecc1785198046f173be6f998e8a Mon Sep 17 00:00:00 2001 From: Jason Short Date: Tue, 3 Jan 2012 10:23:05 -0800 Subject: [PATCH] Cosmetic --- ArduCopter/control_modes.pde | 1 + 1 file changed, 1 insertion(+) 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){