Comply to new api.
[bertos.git] / bertos / cpu / avr / drv / ser_avr.h
index a5a74b52d738a9beccd241989803c7ef5590fdac..5f3c9fb87e437f008a15efeab60d56e76e2bff8c 100644 (file)
@@ -30,7 +30,6 @@
  *
  * -->
  *
- * \version $Id$
  *
  * \author Daniele Basile <asterix@develer.com>
  * \author Luca Ottaviano <lottaviano@develer.com>
@@ -87,7 +86,13 @@ typedef uint8_t serstatus_t;
  */
 enum
 {
-#if  CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281
+#if  CPU_AVR_ATMEGA1280
+       SER_UART0,
+       SER_UART1,
+       SER_UART2,
+       SER_UART3,
+       SER_SPI,
+#elif  CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281
        SER_UART0,
        SER_UART1,
        SER_SPI,