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 b94ed3aecd
commit 08298fced6

View File

@ -689,6 +689,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()