diff options
Diffstat (limited to 'firmware/src/os/pit.h')
-rw-r--r-- | firmware/src/os/pit.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/src/os/pit.h b/firmware/src/os/pit.h index e941aeb..4a25cc1 100644 --- a/firmware/src/os/pit.h +++ b/firmware/src/os/pit.h @@ -3,6 +3,8 @@ #include <sys/types.h> +#define HZ 100 + /* This API (but not the code) is modelled after the Linux API */ struct timer_list { @@ -12,7 +14,7 @@ struct timer_list { void *data; }; -extern unsigned long jiffies; +extern volatile unsigned long jiffies; extern void timer_add(struct timer_list *timer); extern int timer_del(struct timer_list *timer); |