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:
parent
8ab1acfb92
commit
3646d69faf
@ -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