/branches/dongfang_FC_rewrite/controlMixer.c |
---|
118,9 → 118,10 |
* Update variables. |
* Decode commands but do not execute them. |
*/ |
int16_t tempPRTY[4]; |
void controlMixer_periodicTask(void) { |
int16_t tempPRTY[4] = { 0, 0, 0, 0 }; |
// Decode commands. |
uint8_t rcCommand = (RC_getSignalQuality() >= SIGNAL_OK) ? RC_getCommand() |
: COMMAND_NONE; |