| addToList(); | addToList(); | ||||
| } | } | ||||
| void MillisTimer::beginRepeat(unsigned long milliseconds, EventResponderRef event) | |||||
| void MillisTimer::beginRepeating(unsigned long milliseconds, EventResponderRef event) | |||||
| { | { | ||||
| end(); | end(); | ||||
| if (!milliseconds) return; | if (!milliseconds) return; |
| end(); | end(); | ||||
| } | } | ||||
| void begin(unsigned long milliseconds, EventResponderRef event); | void begin(unsigned long milliseconds, EventResponderRef event); | ||||
| void beginRepeat(unsigned long milliseconds, EventResponderRef event); | |||||
| void beginRepeating(unsigned long milliseconds, EventResponderRef event); | |||||
| void end(); | void end(); | ||||
| static void runFromTimer(); | static void runFromTimer(); | ||||
| private: | private: |