From 6c6c2e09f1d68c7480c2faa02350b56766c63088 Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 20 Mar 2008 16:35:09 +0000 Subject: [PATCH] Fix pastos. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1203 38d2e660-2303-0410-9eaa-f027e97ec537 --- cpu/arm/drv/ser_at91.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/arm/drv/ser_at91.c b/cpu/arm/drv/ser_at91.c index 82320bdf..74cca47b 100644 --- a/cpu/arm/drv/ser_at91.c +++ b/cpu/arm/drv/ser_at91.c @@ -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 */ -- 2.25.1