Rev 2050 | Rev 2146 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2050 | Rev 2090 | ||
---|---|---|---|
Line 142... | Line 142... | ||
142 | } |
142 | } |
143 | } |
143 | } |
Line 144... | Line 144... | ||
144 | 144 | ||
145 | 145 | ||
146 | // ----------------------------------------------------------------------- |
146 | // ----------------------------------------------------------------------- |
147 | unsigned int SetDelay (unsigned int t) |
147 | unsigned int SetDelay(unsigned int t) |
148 | { |
148 | { |
149 | // TIMSK0 &= ~_BV(TOIE0); |
149 | // TIMSK0 &= ~_BV(TOIE0); |
150 | return(CountMilliseconds + t + 1); |
150 | return(CountMilliseconds + t + 1); |