public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782dcdf
)
Kernel: Fix minor typo in timer.h
author
Will Sowerbutts
<will@sowerbutts.com>
Sat, 3 Jan 2015 16:28:04 +0000
(16:28 +0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Sat, 3 Jan 2015 16:39:08 +0000
(16:39 +0000)
Kernel/include/timer.h
patch
|
blob
|
history
diff --git
a/Kernel/include/timer.h
b/Kernel/include/timer.h
index
8766c03
..
4ebe1ee
100644
(file)
--- a/
Kernel/include/timer.h
+++ b/
Kernel/include/timer.h
@@
-7,7
+7,7
@@
typedef uint16_t timer_t;
-#define set_timer_ms(msec) (set_timer_duration(msec < 100U ? 1 : ((msec) / 100U))
+#define set_timer_ms(msec) (set_timer_duration(msec < 100U ? 1 : ((msec) / 100U))
)
#define set_timer_sec(sec) (set_timer_duration((sec) * 10))
timer_t set_timer_duration(uint16_t duration); /* good for up to 32K ticks */
bool timer_expired(timer_t timer_val);