From c3c1136c1705a700f3f8ac8b67d8024c6e4d507d Mon Sep 17 00:00:00 2001 From: bernie Date: Fri, 17 Feb 2006 22:28:00 +0000 Subject: [PATCH] Rename ser_emul.c to ser_posix.c. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@524 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/ser.h | 9 ++++++--- drv/{ser_emul.c => ser_posix.c} | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) rename drv/{ser_emul.c => ser_posix.c} (97%) diff --git a/drv/ser.h b/drv/ser.h index 34498df7..c06493db 100755 --- a/drv/ser.h +++ b/drv/ser.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.25 2006/02/17 22:28:00 bernie + *#* Rename ser_emul.c to ser_posix.c. + *#* *#* Revision 1.24 2006/02/17 22:23:06 bernie *#* Update POSIX serial emulator. *#* @@ -90,7 +93,7 @@ #include #include #include /* BV() */ -#include /* ARCH_EMUL */ +#include #include /*! \name Serial Error/status flags. */ @@ -127,7 +130,7 @@ #define SERRF_FRAMEERROR BV(9) /*!< Stop bit missing */ #define SERRF_NOISEERROR BV(10) /*!< Noise error */ #define SERRF_RXSROVERRUN BV(11) /*!< Rx shift register overrun */ -#elif ARCH & ARCH_EMUL +#elif OS_HOSTED typedef uint16_t serstatus_t; /* Software errors */ @@ -191,7 +194,7 @@ enum SER_UART0, SER_PUNTALI, SER_BARCODE, -#elif ARCH & ARCH_EMUL +#elif OS_HOSTED SER_UART0, SER_UART1, #else diff --git a/drv/ser_emul.c b/drv/ser_posix.c similarity index 97% rename from drv/ser_emul.c rename to drv/ser_posix.c index 9a6df21f..781c111e 100755 --- a/drv/ser_emul.c +++ b/drv/ser_posix.c @@ -13,6 +13,9 @@ /*#* *#* $Log$ + *#* Revision 1.1 2006/02/17 22:28:00 bernie + *#* Rename ser_emul.c to ser_posix.c. + *#* *#* Revision 1.4 2006/02/17 22:23:06 bernie *#* Update POSIX serial emulator. *#* -- 2.25.1