diff options
author | mzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2012-03-23 19:54:21 +0000 |
---|---|---|
committer | mzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2012-03-23 19:54:21 +0000 |
commit | 2a72a238872c5a74d9a1d9323a989acd05552e9f (patch) | |
tree | 01287997c3c107110eb0d3a3dcff6ffc8fa18b87 /timer.h | |
parent | 446db7af452c781f700c9313bca2335eecec2c45 (diff) | |
download | lcd4linux-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.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); |