Rev 2103 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2103 | Rev 2104 | ||
---|---|---|---|
Line 109... | Line 109... | ||
109 | void controlMixer_periodicTask(void) { |
109 | void controlMixer_periodicTask(void) { |
110 | int16_t tempPRYT[4] = { 0, 0, 0, 0 }; |
110 | int16_t tempPRYT[4] = { 0, 0, 0, 0 }; |
Line 111... | Line 111... | ||
111 | 111 | ||
112 | // Decode commands. |
112 | // Decode commands. |
113 | uint8_t rcCommand = (RC_getSignalQuality() >= SIGNAL_OK) ? RC_getCommand() : COMMAND_NONE; |
- | |
114 | 113 | uint8_t rcCommand = (RC_getSignalQuality() >= SIGNAL_OK) ? RC_getCommand() : COMMAND_NONE; |
|
Line 115... | Line 114... | ||
115 | uint8_t ecCommand = (EC_getSignalQuality() >= SIGNAL_OK) ? EC_getCommand() : COMMAND_NONE; |
114 | uint8_t ecCommand = (EC_getSignalQuality() >= SIGNAL_OK) ? EC_getCommand() : COMMAND_NONE; |
116 | 115 | ||
117 | // Update variables ("potis"). |
116 | // Update variables ("potis"). |