kputchar(): New public function; Add missing dummy inlines for \!_DEBUG.
[bertos.git] / drv / timer.c
index dc3500571f42e9113a55de1a065e262fc100aaf9..b2caf90d9706526aed8ba8f065c40a2a7e5c4ee6 100755 (executable)
@@ -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 */
 }