Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2072 → Rev 2073

/branches/dongfang_FC_rewrite/controlMixer.c
71,8 → 71,6
else if (variables[i] > 0 && variables[i] > targetvalue)
variables[i]--;
}
 
debugOut.analog[31] = variables[0];
}
 
uint8_t controlMixer_getSignalQuality(void) {
121,6 → 119,9
// Decode commands.
uint8_t rcCommand = (RC_getSignalQuality() >= SIGNAL_OK) ? RC_getCommand()
: COMMAND_NONE;
 
debugOut.analog[31] = rcCommand;
 
uint8_t ecCommand = (EC_getSignalQuality() >= SIGNAL_OK) ? EC_getCommand()
: COMMAND_NONE;
 
184,7 → 185,6
updateControlAndMeasureControlActivity(CONTROL_ROLL, tempPRTY[CONTROL_ROLL]);
updateControlAndMeasureControlActivity(CONTROL_YAW, tempPRTY[CONTROL_YAW]);
dampenControlActivity();
//debugOut.analog[17] = controlActivity/10;
// We can safely do this even with a bad signal - the variables will not have been updated then.
configuration_applyVariablesToParams();