Sub: clear roll/pitch trim when setting neutral controls

This commit is contained in:
Jacob Walser 2017-10-31 10:23:31 -04:00
parent 0351874c01
commit f5648a8259

View File

@ -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()