Disable uneeded assert.
[bertos.git] / bertos / cpu / arm / drv / ser_at91.h
index 66535499a415b55bfc16b0e37dc2561e9e102134..f7eb9869cea2df9d615a05016003f6e53287b092 100644 (file)
@@ -33,7 +33,6 @@
  *
  * \brief High level serial I/O API
  *
- * \version $Id$
  * \author Daniele Basile <asterix@develer.com>
  */
 
@@ -54,9 +53,9 @@ typedef uint32_t serstatus_t;
 #define SERRF_TXTIMEOUT      BV(2)  /**< Transmit timeout */
 
 /*
      * Hardware errors.
      * These flags map directly to the ARM USART Channel Status Register (US_CSR).
      */
+ * Hardware errors.
+ * These flags map directly to the ARM USART Channel Status Register (US_CSR).
+ */
 #define SERRF_RXSROVERRUN    BV(5)  /**< Rx shift register overrun */
 #define SERRF_FRAMEERROR     BV(6)  /**< Stop bit missing */
 #define SERRF_PARITYERROR    BV(7)  /**< Parity error */
@@ -73,7 +72,7 @@ enum
 SER_UART0,
 SER_UART1,
 SER_SPI0,
-#if CPU_ARM_AT91SAM7X128 || CPU_ARM_AT91SAM7X256
+#if CPU_ARM_SAM7X
 SER_SPI1,
 #endif
 SER_CNT  /**< Number of serial ports */