projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
STM32: add basic kdebug support.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
drv
/
timer_cm3.h
diff --git
a/bertos/cpu/cortex-m3/drv/timer_cm3.h
b/bertos/cpu/cortex-m3/drv/timer_cm3.h
index 6311d506caa0ccb83b11e2d44a1d590f1862273c..54bb4bebbeb378a8a85a2adb7c73c02a84f04a83 100644
(file)
--- a/
bertos/cpu/cortex-m3/drv/timer_cm3.h
+++ b/
bertos/cpu/cortex-m3/drv/timer_cm3.h
@@
-84,7
+84,7
@@
INLINE bool timer_hw_triggered(void)
INLINE hptime_t timer_hw_hpread(void)
{
- return
HWREG(NVIC_ST_CURRENT)
;
+ return
NVIC_ST_CURRENT_R
;
}
void timer_hw_init(void);