Copter: enable passthrough auxillary channels

This commit is contained in:
Andrew Tridgell 2014-04-03 12:19:44 +11:00
parent c6f9627782
commit 27ad8c39d6
1 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,9 @@ static void read_radio()
if (!failsafe.rc_override_active) { if (!failsafe.rc_override_active) {
ap.rc_receiver_present = true; ap.rc_receiver_present = true;
} }
// update output on any aux channels, for manual passthru
RC_Channel_aux::output_ch_all();
}else{ }else{
uint32_t elapsed = millis() - last_update; uint32_t elapsed = millis() - last_update;
// turn on throttle failsafe if no update from ppm encoder for 2 seconds // turn on throttle failsafe if no update from ppm encoder for 2 seconds