mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
SRV_Channels: correct RC channel define to SERVO channel
This commit is contained in:
parent
c463036706
commit
fd11620383
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user