Drop almost all the Qt3 cruft.
[bertos.git] / drv / timer_qt.h
index b0fe0a86a97700151d5a321711c4b1c3982f076a..a4772de4f2e25978757495831b65ca0bae70f589 100755 (executable)
@@ -14,6 +14,9 @@
 
 /*#*
  *#* $Log$
+ *#* Revision 1.3  2006/02/21 21:28:02  bernie
+ *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms.
+ *#*
  *#* Revision 1.2  2005/11/27 03:57:00  bernie
  *#* Documentation fixes.
  *#*
@@ -27,7 +30,7 @@
 // HW dependent timer initialization
 
 #define DEFINE_TIMER_ISR     void timer_isr(void)
-#define TIMER_TICKS_PER_MSEC 1
+#define TIMER_TICKS_PER_SEC  250
 #define TIMER_HW_CNT         (1<<31) /* We assume 32bit integers here */
 
 /// Type of time expressed in ticks of the hardware high-precision timer.