5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-14 12:48:31 -04:00

read_control_switch

Removed Prev_WP reference. unneeded.
This commit is contained in:
Jason Short 2012-07-01 13:34:49 -07:00
parent 8ab1acfb92
commit 3646d69faf

View File

@ -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;