mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
read_control_switch
Removed Prev_WP reference. unneeded.
This commit is contained in:
parent
99d6a45948
commit
3fb268da96
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user