diff options
Diffstat (limited to '')
-rw-r--r-- | timer.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,6 +28,9 @@ #ifndef _TIMER_H_ #define _TIMER_H_ +#define TIMER_ACTIVE 1 +#define TIMER_INACTIVE 0 + #include <time.h> int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot); |