Fix pastos.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 20 Mar 2008 16:35:09 +0000 (16:35 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 20 Mar 2008 16:35:09 +0000 (16:35 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1203 38d2e660-2303-0410-9eaa-f027e97ec537

cpu/arm/drv/ser_at91.c

index 82320bdf1ad1edc699258faa37af2cc678c1773f..74cca47bffdbdfd47949e0e9f60f95890d09d79a 100644 (file)
@@ -690,7 +690,7 @@ static const struct SerialHardwareVT SPI0_VT =
        C99INIT(txStart, spi0_starttx),
        C99INIT(txSending, tx_sending),
 };
-#if CPU_ARM_AT91SAM7X128 || CPU_ARM_AT91SAM7X128
+#if CPU_ARM_AT91SAM7X128 || CPU_ARM_AT91SAM7X256
 static const struct SerialHardwareVT SPI1_VT =
 {
        C99INIT(init, spi1_init),
@@ -735,7 +735,7 @@ static struct ArmSerial UARTDescs[SER_CNT] =
                },
                C99INIT(sending, false),
        },
-       #if CPU_ARM_AT91SAM7X128 || CPU_ARM_AT91SAM7X128
+       #if CPU_ARM_AT91SAM7X128 || CPU_ARM_AT91SAM7X256
        {
                C99INIT(hw, /**/) {
                        C99INIT(table, &SPI1_VT),
@@ -914,7 +914,7 @@ static void spi0_irq_handler(void)
 }
 
 
-#if CPU_ARM_AT91SAM7X128 || CPU_ARM_AT91SAM7X128
+#if CPU_ARM_AT91SAM7X128 || CPU_ARM_AT91SAM7X256
 /**
  * SPI1 interrupt handler
  */