From 36f5ab02f545fdb3d02b3ab678c54cde51eca7fb Mon Sep 17 00:00:00 2001 From: bernie Date: Tue, 20 Jul 2004 23:50:20 +0000 Subject: [PATCH] Also define TIMER_PRESCALER. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@73 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/timer_avr.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.25.1