X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Ftimer_avr.h;h=2cfb016aeb11c9bd2dc0d6efd9e05aba1804f604;hb=344e6430515e678c2b6c9f09f7b7587836d13449;hp=85219236061bbddf554258b9f44d5b8e6f40c191;hpb=7afdef86655a7750a09d479d0d90f883417c0a12;p=bertos.git diff --git a/drv/timer_avr.h b/drv/timer_avr.h index 85219236..2cfb016a 100755 --- a/drv/timer_avr.h +++ b/drv/timer_avr.h @@ -13,26 +13,32 @@ * \brief Low-level timer module for AVR */ -/* - * $Log$ - * Revision 1.14 2004/08/24 16:27:01 bernie - * Add missing headers. - * - * Revision 1.13 2004/08/24 14:30:11 bernie - * Use new-style config macros for drv/timer.c - * - * Revision 1.12 2004/08/10 06:59:45 bernie - * CONFIG_TIMER_STROBE: Define no-op default macros. - * - * Revision 1.11 2004/08/03 15:53:17 aleph - * Fix spacing - * - * Revision 1.10 2004/08/02 20:20:29 aleph - * Merge from project_ks - * - * Revision 1.9 2004/07/22 02:01:14 bernie - * Use TIMER_PRESCALER consistently. - */ +/*#* + *#* $Log$ + *#* Revision 1.16 2004/09/06 21:49:26 bernie + *#* CONFIG_TIMER_STROBE: be tolerant with missing optional macro. + *#* + *#* Revision 1.15 2004/08/25 14:12:08 rasky + *#* Aggiornato il comment block dei log RCS + *#* + *#* Revision 1.14 2004/08/24 16:27:01 bernie + *#* Add missing headers. + *#* + *#* Revision 1.13 2004/08/24 14:30:11 bernie + *#* Use new-style config macros for drv/timer.c + *#* + *#* Revision 1.12 2004/08/10 06:59:45 bernie + *#* CONFIG_TIMER_STROBE: Define no-op default macros. + *#* + *#* Revision 1.11 2004/08/03 15:53:17 aleph + *#* Fix spacing + *#* + *#* Revision 1.10 2004/08/02 20:20:29 aleph + *#* Merge from project_ks + *#* + *#* Revision 1.9 2004/07/22 02:01:14 bernie + *#* Use TIMER_PRESCALER consistently. + *#*/ #ifndef DRV_TIMER_AVR_H #define DRV_TIMER_AVR_H @@ -66,7 +72,7 @@ * TIMER_STROBE_OFF and TIMER_STROBE_INIT and set * CONFIG_TIMER_STROBE to 1. */ -#ifndef CONFIG_TIMER_STROBE +#if !defined(CONFIG_TIMER_STROBE) || !CONFIG_TIMER_STROBE #define TIMER_STROBE_ON do {/*nop*/} while(0) #define TIMER_STROBE_OFF do {/*nop*/} while(0) #define TIMER_STROBE_INIT do {/*nop*/} while(0)