X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Ftimer_qt.h;h=a4772de4f2e25978757495831b65ca0bae70f589;hb=c4a2aaf58b87121634905fc689312000aec47ef6;hp=b0fe0a86a97700151d5a321711c4b1c3982f076a;hpb=fd6890d301aad9c74410016d580f3a644bc54779;p=bertos.git diff --git a/drv/timer_qt.h b/drv/timer_qt.h index b0fe0a86..a4772de4 100755 --- a/drv/timer_qt.h +++ b/drv/timer_qt.h @@ -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.