aboutsummaryrefslogtreecommitdiffstats
path: root/timer.h
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-17 01:12:28 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-05-17 01:12:28 +0100
commitb8987aac39d644c5cecadfd3ea14f3ebb80f13ee (patch)
tree223fddc1e4c2fd41bd4525f38b7ed1ed858f31b0 /timer.h
parentd0b266cf85d3c7733259c76831de0cfd4c1731a1 (diff)
downloadlcd4linux-b8987aac39d644c5cecadfd3ea14f3ebb80f13ee.tar.gz
Import upstream version 0.11.0~svn1188
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);