aboutsummaryrefslogtreecommitdiffstats
path: root/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/timer.h b/timer.h
index 47aa531..3fd8227 100644
--- a/timer.h
+++ b/timer.h
@@ -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);