Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2057 → Rev 2058

/branches/dongfang_FC_rewrite/failsafeControl.c
46,8 → 46,9
}
}
 
// In either case, use e. throttle.
// In either case, use e. throttle and neutral controls. TODO: If there is supposed to be a navi come-home, this should affect RC control only and not navi.
PRTY[CONTROL_THROTTLE] = staticParams.emergencyThrottle; // Set emergency throttle
PRTY[CONTROL_PITCH] = PRTY[CONTROL_ROLL] = PRTY[CONTROL_YAW] = 0;
} else {
// Signal is OK.
if (MKFlags & MKFLAG_EMERGENCY_FLIGHT) {