aboutsummaryrefslogtreecommitdiff
path: root/timer.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-08-19 15:50:26 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-08-19 15:50:26 +0200
commitbdd5ae4dd66941e27128f3ad45d7452c33af716b (patch)
tree01082847a2e270d3ff8198d5d5a19d79c403e166 /timer.h
parentf4e36ee188a084e3103e43914d18bbe889fd4025 (diff)
downloadhourglass-bdd5ae4dd66941e27128f3ad45d7452c33af716b.tar.gz
hourglass-bdd5ae4dd66941e27128f3ad45d7452c33af716b.tar.bz2
hourglass-bdd5ae4dd66941e27128f3ad45d7452c33af716b.zip
timer: Support arbitrary timer values
FIXME: large values do not work yet.
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/timer.h b/timer.h
index c1b3511..6284be7 100644
--- a/timer.h
+++ b/timer.h
@@ -1,10 +1,10 @@
#ifndef TIMER_H
#define TIMER_H
-#include <stdbool.h>
+#include <stdint.h>
-void timerStart ();
-bool timerHit ();
+void timerStart (const uint32_t t);
+uint32_t timerHit ();
void timerStop ();
#endif /* TIMER_H */