X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fnet%2Fxmodem.c;h=ec899cb130b8f59ad2802817dbddcce4d8a40f3e;hb=84c1846c483f7ddad5804c555c7e0d207f8d1ddc;hp=382e47eb21c96c43def630fb9c09bb6979aaf839;hpb=c22fe24a0da896a52dbc3882390ec18a440ef56a;p=bertos.git diff --git a/bertos/net/xmodem.c b/bertos/net/xmodem.c index 382e47eb..ec899cb1 100644 --- a/bertos/net/xmodem.c +++ b/bertos/net/xmodem.c @@ -27,7 +27,7 @@ * the GNU General Public License. * * Copyright 2004, 2005, 2006, 2007 Develer S.r.l. (http://www.develer.com/) - * Copyright 1999, 2001 Bernardo Innocenti + * Copyright 1999, 2001 Bernie Innocenti * * --> * @@ -40,7 +40,7 @@ * * \version $Id$ * - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Francesco Sacchi */ @@ -88,7 +88,7 @@ * * \note This function allocates a large amount of stack (\see XM_BUFSIZE). */ -bool xmodem_recv(struct KFileSerial *port, KFile *fd) +bool xmodem_recv(struct Serial *port, KFile *fd) { char block_buffer[XM_BUFSIZE]; /* Buffer to hold a block of data */ int c, i, blocksize; @@ -308,7 +308,7 @@ bool xmodem_recv(struct KFileSerial *port, KFile *fd) * \note This function allocates a large amount of stack for * the XModem transfer buffer (\see XM_BUFSIZE). */ -bool xmodem_send(struct KFileSerial *port, KFile *fd) +bool xmodem_send(struct Serial *port, KFile *fd) { char block_buffer[XM_BUFSIZE]; /* Buffer to hold a block of data */ size_t size = -1;