From 786e425376d8be2cccf40a7f2a62a598ea062df3 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 19 Oct 2007 10:18:35 +0000 Subject: [PATCH] Typos. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@914 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/ser.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drv/ser.h b/drv/ser.h index 1054f4fd..dfab067e 100644 --- a/drv/ser.h +++ b/drv/ser.h @@ -148,15 +148,17 @@ #ifndef DRV_SER_H #define DRV_SER_H +#include #include #include #include /* BV() */ #include + #include /** \name Serial Error/status flags. */ /*\{*/ -#if CPU_ARM +#if CPU_ARM_AT91 typedef uint32_t serstatus_t; /* Software errors */ @@ -173,7 +175,7 @@ #define SERRF_PARITYERROR BV(7) /**< Parity error */ #define SERRF_NOISEERROR 0 /**< Unsupported */ -#if CPU_AVR +#elif CPU_AVR typedef uint8_t serstatus_t; /* Software errors */ @@ -270,7 +272,7 @@ enum SER_UART0, SER_UART1, SER_SPI, -#if CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281 +#elif CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA1281 SER_UART0, SER_UART1, SER_SPI, -- 2.25.1