From: bernie Date: Tue, 20 Jul 2004 23:50:20 +0000 (+0000) Subject: Also define TIMER_PRESCALER. X-Git-Tag: 1.0.0~1168 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=36f5ab02f545fdb3d02b3ab678c54cde51eca7fb;p=bertos.git Also define TIMER_PRESCALER. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@73 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/drv/timer_avr.h b/drv/timer_avr.h index 15bf8730..ee932084 100755 --- a/drv/timer_avr.h +++ b/drv/timer_avr.h @@ -15,6 +15,9 @@ /* * $Log$ + * Revision 1.8 2004/07/20 23:50:20 bernie + * Also define TIMER_PRESCALER. + * * Revision 1.7 2004/07/20 23:49:40 bernie * Compute value of OCR_DIVISOR from CLOCK_FREQ. * @@ -51,6 +54,8 @@ #define timer_hw_irq() /* Not needed, IRQ timer flag cleared automatically */ +#define TIMER_PRESCALER 64 + /*! * System timer: additional division after the prescaler * 12288000 / 64 / 192 (0..191) = 1 ms