X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fser_avr.c;h=90d81fc429a4518bb213d897a21f52e0e819ab68;hb=51a642a3b267ee3c837bc959b01eb16ea22f9f04;hp=05c93943cb020c223f263fbee8c1dd639ea5a41e;hpb=243b4bcd1563bfca887b9534a6abb7249683d819;p=bertos.git diff --git a/drv/ser_avr.c b/drv/ser_avr.c index 05c93943..90d81fc4 100755 --- a/drv/ser_avr.c +++ b/drv/ser_avr.c @@ -3,7 +3,7 @@ * * * \brief AVR UART and SPI I/O driver @@ -38,6 +38,18 @@ /*#* *#* $Log$ + *#* Revision 1.29 2005/11/27 23:31:48 bernie + *#* Support avr-libc 1.4. + *#* + *#* Revision 1.28 2005/11/04 16:20:02 bernie + *#* Fix reference to README.devlib in header. + *#* + *#* Revision 1.27 2005/07/03 15:19:31 bernie + *#* Doxygen fix. + *#* + *#* Revision 1.26 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.25 2005/01/25 08:37:26 bernie *#* CONFIG_SER_HWHANDSHAKE fixes. *#* @@ -111,15 +123,19 @@ #include "ser.h" #include "ser_p.h" -#include "config.h" #include "hw.h" /* Required for bus macros overrides */ +#include -#include +#include #include #include -#include #include +#if defined(__AVR_LIBC_VERSION__) && (__AVR_LIBC_VERSION__ >= 10400UL) + #include +#else + #include +#endif #if !CONFIG_SER_HWHANDSHAKE @@ -261,8 +277,6 @@ */ #ifndef SER_SPI_BUS_TXINIT /*! - * \def SER_SPI_BUS_TXINIT - * * Default TXINIT macro - invoked in spi_init() * The default is no action. */ @@ -271,8 +285,6 @@ #ifndef SER_SPI_BUS_TXCLOSE /*! - * \def SER_SPI_BUS_TXCLOSE - * * Invoked after the last character has been transmitted. * The default is no action. */