projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge needed define.
[bertos.git]
/
drv
/
timer.c
diff --git
a/drv/timer.c
b/drv/timer.c
index a71352676ba789cd7e07696e1985c34c19e4b619..0e756dbb6cb01c435062380cbd60536d0e165520 100644
(file)
--- a/
drv/timer.c
+++ b/
drv/timer.c
@@
-74,6
+74,9
@@
#if CONFIG_KERNEL
#include <config_kern.h>
+ #if CONFIG_KERN_PREEMPTIVE
+ #include <hw/switch.h>
+ #endif
#if CONFIG_KERN_SIGNALS
#include <kern/signal.h> /* sig_wait(), sig_check() */
#include <kern/proc.h> /* proc_current() */