projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the bug related to the empty version list
[bertos.git]
/
bertos
/
drv
/
timer.c
diff --git
a/bertos/drv/timer.c
b/bertos/drv/timer.c
index 7e99d78ee8822b9e6eeaadbdd434b09c221fc8ac..d832059086a563134303e16f87146f5cd1691bba 100644
(file)
--- a/
bertos/drv/timer.c
+++ b/
bertos/drv/timer.c
@@
-59,7
+59,10
@@
//#include OS_CSOURCE(timer)
#include <emul/timer_posix.c>
#else
//#include OS_CSOURCE(timer)
#include <emul/timer_posix.c>
#else
- #include CPU_CSOURCE(timer)
+ #ifndef WIZ_AUTOGEN
+ #warning Deprecated: now you should include timer_<cpu> directly in the makefile. Remove this line and the following once done.
+ #include CPU_CSOURCE(timer)
+ #endif
#endif
/*
#endif
/*