Fix a nasty bug caused by confusion between old-style and new-style configuration...
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 3 Oct 2004 18:43:18 +0000 (18:43 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 3 Oct 2004 18:43:18 +0000 (18:43 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@225 38d2e660-2303-0410-9eaa-f027e97ec537

drv/ser.h

index a41084a75e1be9ae937eae7e81c95a7d94fe943c..a11e0fb6e09f32e46e45ab60f1abf233bbf4e943 100755 (executable)
--- 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.
  *#*
  */
 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