Subversion Repositories FlightCtrl

Rev

Rev 1612 | Rev 1645 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1612 Rev 1634
Line 146... Line 146...
146
  int16_t* RC_PRTY = RC_getPRTY();
146
  int16_t* RC_PRTY = RC_getPRTY();
147
  int16_t* EC_PRTY = EC_getPRTY();
147
  int16_t* EC_PRTY = EC_getPRTY();
Line 148... Line 148...
148
 
148
 
149
  controlPitch     = RC_PRTY[CONTROL_PITCH] + EC_PRTY[CONTROL_PITCH];
149
  controlPitch     = RC_PRTY[CONTROL_PITCH] + EC_PRTY[CONTROL_PITCH];
150
  controlRoll      = RC_PRTY[CONTROL_ROLL] + EC_PRTY[CONTROL_ROLL];
150
  controlRoll      = RC_PRTY[CONTROL_ROLL] + EC_PRTY[CONTROL_ROLL];
151
  DebugOut.Analog[14] = controlThrottle  = RC_PRTY[CONTROL_THROTTLE] + EC_PRTY[CONTROL_THROTTLE];
151
  controlThrottle  = RC_PRTY[CONTROL_THROTTLE] + EC_PRTY[CONTROL_THROTTLE];
-
 
152
  controlYaw       = RC_PRTY[CONTROL_YAW] + EC_PRTY[CONTROL_YAW];
-
 
153
 
-
 
154
  DebugOut.Analog[6] = controlPitch;
-
 
155
  DebugOut.Analog[7] = controlRoll;
Line 152... Line 156...
152
  DebugOut.Analog[15] = controlYaw       = RC_PRTY[CONTROL_YAW] + EC_PRTY[CONTROL_YAW];
156
  DebugOut.Analog[8] = controlYaw;
153
   
157
   
154
  if (RC_getSignalQuality() >= SIGNAL_GOOD) {
158
  if (RC_getSignalQuality() >= SIGNAL_GOOD) {
155
    controlMixer_updateVariables();
159
    controlMixer_updateVariables();