aboutsummaryrefslogtreecommitdiffstats
path: root/timer.h
diff options
context:
space:
mode:
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2012-03-23 19:54:21 +0000
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2012-03-23 19:54:21 +0000
commit2a72a238872c5a74d9a1d9323a989acd05552e9f (patch)
tree01287997c3c107110eb0d3a3dcff6ffc8fa18b87 /timer.h
parent446db7af452c781f700c9313bca2335eecec2c45 (diff)
downloadlcd4linux-2a72a238872c5a74d9a1d9323a989acd05552e9f.tar.gz
timer activation: use defines instead of integers for easier reading
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1182 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/timer.h b/timer.h
index 3268182..ccfd7c4 100644
--- a/timer.h
+++ b/timer.h
@@ -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);