GCS_Common: send 0 rather than 1 in servo zero-rc-outputs

This commit is contained in:
Peter Barker 2018-06-16 14:30:40 +10:00 committed by Peter Barker
parent f7daf1c676
commit e7b409924c
1 changed files with 1 additions and 2 deletions

View File

@ -1775,8 +1775,7 @@ void GCS_MAVLINK::zero_rc_outputs()
// For that matter, send an invalid signal to all channels to prevent undesired/unexpected behavior // For that matter, send an invalid signal to all channels to prevent undesired/unexpected behavior
SRV_Channels::cork(); SRV_Channels::cork();
for (int i=0; i<NUM_RC_CHANNELS; i++) { for (int i=0; i<NUM_RC_CHANNELS; i++) {
// Set to 1 because 0 is interpreted as flag to ignore update hal.rcout->write(i, 0);
hal.rcout->write(i, 1);
} }
SRV_Channels::push(); SRV_Channels::push();
} }