projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix error on short hptime_t CPU.
[bertos.git]
/
bertos
/
drv
/
timer.h
diff --git
a/bertos/drv/timer.h
b/bertos/drv/timer.h
index a81b96f3dc0e609cfee5ede75c7be6d4776a516f..40802b543cb9f981f909e6c731fc1e17a8e499b9 100644
(file)
--- a/
bertos/drv/timer.h
+++ b/
bertos/drv/timer.h
@@
-70,6
+70,8
@@
#include CPU_HEADER(timer)
#endif
+STATIC_ASSERT(sizeof(hptime_t) == SIZEOF_HPTIME_T);
+
#include "cfg/cfg_timer.h"
#include <cfg/debug.h>
#include <cfg/compiler.h>