Rev 832 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 832 | Rev 848 | ||
---|---|---|---|
Line 81... | Line 81... | ||
81 | 81 | ||
82 | // happens every 0.209712 s. |
82 | // happens every 0.209712 s. |
83 | // check for at least one new frame per timer overflow (timeout) |
83 | // check for at least one new frame per timer overflow (timeout) |
84 | ISR(TIMER1_OVF_vect) |
84 | ISR(TIMER1_OVF_vect) |
85 | { |
85 | { |
86 | if (NewRCFrames == 0) RC_Quality /= 2; |
86 | if (NewRCFrames == 0) RC_Quality -= RC_Quality/8; |
87 | NewRCFrames = 0; |
87 | NewRCFrames = 0; |
Line 88... | Line 88... | ||
88 | } |
88 | } |