SRV_Channels: correct RC channel define to SERVO channel

This commit is contained in:
Iampete1 2022-01-29 12:01:42 +00:00 committed by Peter Barker
parent c463036706
commit fd11620383

View File

@ -462,7 +462,7 @@ void SRV_Channels::zero_rc_outputs()
* undesired/unexpected behavior
*/
cork();
for (uint8_t i=0; i<NUM_RC_CHANNELS; i++) {
for (uint8_t i=0; i<NUM_SERVO_CHANNELS; i++) {
hal.rcout->write(i, 0);
}
push();