X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Ftimer.c;h=b2caf90d9706526aed8ba8f065c40a2a7e5c4ee6;hb=8e770a994c62f109c91854136e1bbae049b07a2f;hp=dc3500571f42e9113a55de1a065e262fc100aaf9;hpb=b7719aabccbf66857d16c5ee1ba5ae25b7449d75;p=bertos.git diff --git a/drv/timer.c b/drv/timer.c index dc350057..b2caf90d 100755 --- a/drv/timer.c +++ b/drv/timer.c @@ -15,6 +15,9 @@ /* * $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. * @@ -141,10 +144,10 @@ void timer_delay(time_t time) #else /* !CONFIG_KERN_SIGNALS */ - time_t start = timer_gettick(); + time_t start = timer_ticks(); /* Busy wait */ - while (timer_gettick() - start < time) { /* nop */ } + while (timer_ticks() - start < time) { /* nop */ } #endif /* !CONFIG_KERN_SIGNALS */ }