From: bernie Date: Sun, 3 Oct 2004 18:43:18 +0000 (+0000) Subject: Fix a nasty bug caused by confusion between old-style and new-style configuration... X-Git-Tag: 1.0.0~1016 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a20f20b1fe5e88070863392955bda50e23c758e3;p=bertos.git Fix a nasty bug caused by confusion between old-style and new-style configuration macros. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@225 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/drv/ser.h b/drv/ser.h index a41084a7..a11e0fb6 100755 --- a/drv/ser.h +++ b/drv/ser.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.14 2004/10/03 18:43:18 bernie + *#* Fix a nasty bug caused by confusion between old-style and new-style configuration macros. + *#* *#* Revision 1.13 2004/09/14 21:04:57 bernie *#* Don't vanely call kdebug.h. *#* @@ -112,11 +115,11 @@ */ enum { -#if defined(CPU_AVR_ATMEGA64) || defined(CPU_AVR_ATMEGA128) +#if CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 SER_UART0, SER_UART1, SER_SPI, -#elif defined(CPU_AVR_ATMEGA103) || defined(CPU_AVR_ATMEGA8) +#elif CPU_AVR_ATMEGA103 || CPU_AVR_ATMEGA8 SER_UART0, SER_SPI, #elif CPU_DSP56K