From 8d805e5800ebfc5c3f04ae18434e857f5e51f1c4 Mon Sep 17 00:00:00 2001 From: bernie Date: Mon, 6 Sep 2004 21:49:26 +0000 Subject: [PATCH] CONFIG_TIMER_STROBE: be tolerant with missing optional macro. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@189 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/timer_avr.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drv/timer_avr.h b/drv/timer_avr.h index 82166d3e..2cfb016a 100755 --- a/drv/timer_avr.h +++ b/drv/timer_avr.h @@ -15,6 +15,9 @@ /*#* *#* $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 *#* @@ -69,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) -- 2.25.1