mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Removed unused variable
This commit is contained in:
parent
9ea54b3171
commit
93d7712c9a
@ -389,7 +389,6 @@ static void set_mode(byte mode)
|
||||
mode = STABILIZE;
|
||||
}
|
||||
|
||||
old_control_mode = control_mode;
|
||||
control_mode = mode;
|
||||
control_mode = constrain(control_mode, 0, NUM_MODES - 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user