mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: do not initialize rc channels 6 and higher
This commit is contained in:
parent
e12e0d95ae
commit
741c467f03
@ -704,10 +704,6 @@ void Sub::set_neutral_controls()
|
|||||||
RC_Channels::set_override(i, 1500, tnow);
|
RC_Channels::set_override(i, 1500, tnow);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (uint8_t i = 6; i < 11; i++) {
|
|
||||||
RC_Channels::set_override(i, 0xffff, tnow);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Clear pitch/roll trim settings
|
// Clear pitch/roll trim settings
|
||||||
pitchTrim = 0;
|
pitchTrim = 0;
|
||||||
rollTrim = 0;
|
rollTrim = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user