Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1866 → Rev 1867

/branches/dongfang_FC_rewrite/controlMixer.c
159,7 → 159,7
control[PITCH] = RC_PRTY[CONTROL_PITCH] + EC_PRTY[CONTROL_PITCH];
control[ROLL] = RC_PRTY[CONTROL_ROLL] + EC_PRTY[CONTROL_ROLL];
// This can be a CPU time killer if the function implementations are inefficient.
controlThrottle = HC_getThrottle(AC_getThrottle(RC_PRTY[CONTROL_THROTTLE]
controlThrottle = AC_getThrottle(HC_getThrottle(RC_PRTY[CONTROL_THROTTLE]
+ EC_PRTY[CONTROL_THROTTLE]));
controlYaw = RC_PRTY[CONTROL_YAW] + EC_PRTY[CONTROL_YAW];