X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fser_avr.c;h=2d0ae6d0ddf3dc5287932433ff7ece93d3f926e2;hb=04cdf83948ae2bf7d6404be4d5816707092619f3;hp=90d81fc429a4518bb213d897a21f52e0e819ab68;hpb=9481a995a29f4da2a91bcaac4a8406cd235a85e5;p=bertos.git diff --git a/drv/ser_avr.c b/drv/ser_avr.c index 90d81fc4..2d0ae6d0 100755 --- a/drv/ser_avr.c +++ b/drv/ser_avr.c @@ -38,6 +38,12 @@ /*#* *#* $Log$ + *#* Revision 1.31 2006/05/18 00:37:29 bernie + *#* Use hw_ser.h instead of ubiquitous hw.h. + *#* + *#* Revision 1.30 2006/02/17 22:23:06 bernie + *#* Update POSIX serial emulator. + *#* *#* Revision 1.29 2005/11/27 23:31:48 bernie *#* Support avr-libc 1.4. *#* @@ -123,7 +129,7 @@ #include "ser.h" #include "ser_p.h" -#include "hw.h" /* Required for bus macros overrides */ +#include "hw_ser.h" /* Required for bus macros overrides */ #include #include @@ -664,7 +670,7 @@ static struct AvrSerial UARTDescs[SER_CNT] = } }; -struct SerialHardware* ser_hw_getdesc(int unit) +struct SerialHardware *ser_hw_getdesc(int unit) { ASSERT(unit < SER_CNT); return &UARTDescs[unit].hw;