projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define init, txbegin, txend and txputchar macros.
[bertos.git]
/
drv
/
timer.c
diff --git
a/drv/timer.c
b/drv/timer.c
index b25afba5cc53e75fb76777fa59f6f50f3afd6275..9148d930f2f39d5c6d0bd3d7a9a3669b24b5ed23 100644
(file)
--- a/
drv/timer.c
+++ b/
drv/timer.c
@@
-173,9
+173,9
@@
Timer *timer_abort(Timer *timer)
*/
void timer_delayTicks(ticks_t delay)
{
*/
void timer_delayTicks(ticks_t delay)
{
-#if defined(IRQ_
GETSTATE
)
+#if defined(IRQ_
ENABLED
)
/* We shouldn't sleep with interrupts disabled */
/* We shouldn't sleep with interrupts disabled */
- ASSERT(IRQ_
GETSTATE
());
+ ASSERT(IRQ_
ENABLED
());
#endif
#if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS
#endif
#if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS