projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix SPI1 activation bug. Now SPI1 on at91sam7x is fully functional.
[bertos.git]
/
bertos
/
net
/
xmodem.c
diff --git
a/bertos/net/xmodem.c
b/bertos/net/xmodem.c
index 3c9ed53171c94b87d7ac8caea6c2f62d9cfc940b..35da28366b921c8b559571170c89bbf89f8eeb03 100644
(file)
--- a/
bertos/net/xmodem.c
+++ b/
bertos/net/xmodem.c
@@
-50,8
+50,6
@@
#include "cfg/cfg_xmodem.h"
#include <cfg/debug.h>
#include "cfg/cfg_xmodem.h"
#include <cfg/debug.h>
-#include <drv/ser.h>
-
#include <algo/crc.h>
#include <string.h> /* for memset() */
#include <algo/crc.h>
#include <string.h> /* for memset() */
@@
-80,7
+78,7
@@
/**
* \brief Receive a file using the XModem protocol.
*
/**
* \brief Receive a file using the XModem protocol.
*
- * \param
KFile c
hannel to use for transfer
+ * \param
ch C
hannel to use for transfer
* \param fd Destination file
*
* \note This function allocates a large amount of stack (\see XM_BUFSIZE).
* \param fd Destination file
*
* \note This function allocates a large amount of stack (\see XM_BUFSIZE).
@@
-299,7
+297,7
@@
bool xmodem_recv(KFile *ch, KFile *fd)
/**
* \brief Transmit some data using the XModem protocol.
*
/**
* \brief Transmit some data using the XModem protocol.
*
- * \param
KFile c
hannel to use for transfer
+ * \param
ch C
hannel to use for transfer
* \param fd Source file
*
* \note This function allocates a large amount of stack for
* \param fd Source file
*
* \note This function allocates a large amount of stack for