diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-17 01:12:28 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-17 01:12:28 +0100 |
commit | b8987aac39d644c5cecadfd3ea14f3ebb80f13ee (patch) | |
tree | 223fddc1e4c2fd41bd4525f38b7ed1ed858f31b0 /timer.h | |
parent | d0b266cf85d3c7733259c76831de0cfd4c1731a1 (diff) | |
download | lcd4linux-b8987aac39d644c5cecadfd3ea14f3ebb80f13ee.tar.gz |
Import upstream version 0.11.0~svn1188
Diffstat (limited to 'timer.h')
-rw-r--r-- | timer.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: timer.h 1164 2011-12-22 10:48:01Z mjona $ +/* $Id: timer.h 1182 2012-03-23 19:54:21Z mzuther $ * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/timer.h $ * * generic timer handling @@ -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); |