Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2058 → Rev 2059

/branches/dongfang_FC_rewrite/controlMixer.c
151,6 → 151,8
 
debugOut.analog[16] = tempPRTY[CONTROL_PITCH];
debugOut.analog[17] = tempPRTY[CONTROL_ROLL];
debugOut.analog[18] = tempPRTY[CONTROL_THROTTLE];
debugOut.analog[19] = tempPRTY[CONTROL_YAW];
 
// Add external control to RC
EC_periodicTaskAndPRTY(tempPRTY);
160,9 → 162,6
navigation_periodicTaskAndPRTY(tempPRTY);
#endif
 
debugOut.analog[18] = tempPRTY[CONTROL_PITCH];
debugOut.analog[19] = tempPRTY[CONTROL_ROLL];
 
// Add compass control (could also have been before navi, they are independent)
CC_periodicTaskAndPRTY(tempPRTY);
 
177,9 → 176,6
AC_getPRTY(tempPRTY);
}
 
debugOut.analog[20] = tempPRTY[CONTROL_PITCH];
debugOut.analog[21] = tempPRTY[CONTROL_ROLL];
 
// Commit results to global variable and also measure control activity.
controls[CONTROL_THROTTLE] = tempPRTY[CONTROL_THROTTLE];
updateControlAndMeasureControlActivity(CONTROL_PITCH, tempPRTY[CONTROL_PITCH]);