Rev 2026 | Rev 2045 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2026 | Rev 2039 | ||
---|---|---|---|
Line 237... | Line 237... | ||
237 | } |
237 | } |
Line 238... | Line 238... | ||
238 | 238 | ||
239 | /* |
239 | /* |
240 | * This must be called (as the only thing) for each control loop cycle (488 Hz). |
240 | * This must be called (as the only thing) for each control loop cycle (488 Hz). |
241 | */ |
241 | */ |
242 | void RC_update() { |
242 | void RC_periodicTask() { |
243 | int16_t tmp1, tmp2; |
243 | int16_t tmp1, tmp2; |
244 | if (RCQuality) { |
244 | if (RCQuality) { |
245 | RCQuality--; |
245 | RCQuality--; |
246 | if (newPPMData-- == 0) { |
246 | if (newPPMData-- == 0) { |