From 3fb268da961f3b6ac7099f4403fcebc1e3c6e2d6 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Sun, 1 Jul 2012 13:34:49 -0700 Subject: [PATCH] read_control_switch Removed Prev_WP reference. unneeded. --- ArduCopter/control_modes.pde | 2 -- 1 file changed, 2 deletions(-) diff --git a/ArduCopter/control_modes.pde b/ArduCopter/control_modes.pde index 0ba8af6dda..1022ba0eac 100644 --- a/ArduCopter/control_modes.pde +++ b/ArduCopter/control_modes.pde @@ -8,8 +8,6 @@ static void read_control_switch() if (oldSwitchPosition != switchPosition){ if(switch_debouncer){ - // remember the prev location for GS - prev_WP = current_loc; oldSwitchPosition = switchPosition; switch_debouncer = false;