projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kputchar(): New public function; Add missing dummy inlines for \!_DEBUG.
[bertos.git]
/
drv
/
timer.c
diff --git
a/drv/timer.c
b/drv/timer.c
index dc3500571f42e9113a55de1a065e262fc100aaf9..b2caf90d9706526aed8ba8f065c40a2a7e5c4ee6 100755
(executable)
--- a/
drv/timer.c
+++ b/
drv/timer.c
@@
-15,6
+15,9
@@
/*
* $Log$
/*
* $Log$
+ * Revision 1.13 2004/08/10 06:59:09 bernie
+ * timer_gettick(): Rename to timer_ticks() and add backwards compatibility inline.
+ *
* Revision 1.12 2004/08/08 05:59:37 bernie
* Remove a few useless casts.
*
* Revision 1.12 2004/08/08 05:59:37 bernie
* Remove a few useless casts.
*
@@
-141,10
+144,10
@@
void timer_delay(time_t time)
#else /* !CONFIG_KERN_SIGNALS */
#else /* !CONFIG_KERN_SIGNALS */
- time_t start = timer_
gettick
();
+ time_t start = timer_
ticks
();
/* Busy wait */
/* Busy wait */
- while (timer_
gettick
() - start < time) { /* nop */ }
+ while (timer_
ticks
() - start < time) { /* nop */ }
#endif /* !CONFIG_KERN_SIGNALS */
}
#endif /* !CONFIG_KERN_SIGNALS */
}