mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 17:48:35 -04:00
Sub: clear roll/pitch trim when setting neutral controls
This commit is contained in:
parent
0351874c01
commit
f5648a8259
@ -600,6 +600,10 @@ void Sub::set_neutral_controls()
|
||||
}
|
||||
|
||||
hal.rcin->set_overrides(channels, 10);
|
||||
|
||||
// Clear pitch/roll trim settings
|
||||
pitchTrim = 0;
|
||||
rollTrim = 0;
|
||||
}
|
||||
|
||||
void Sub::clear_input_hold()
|
||||
|
Loading…
Reference in New Issue
Block a user