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.h
diff --git
a/bertos/net/xmodem.h
b/bertos/net/xmodem.h
index e8a66f0c0f082c667be5ad6c57a9f21abd23ed97..4b2386239768782e31d40987507689ceab3eb822 100644
(file)
--- a/
bertos/net/xmodem.h
+++ b/
bertos/net/xmodem.h
@@
-30,11
+30,15
@@
* Copyright 1999, 2001 Bernie Innocenti <bernie@codewiz.org>
*
* -->
* Copyright 1999, 2001 Bernie Innocenti <bernie@codewiz.org>
*
* -->
- * \brief X-Modem serial transmission protocol
(interface)
+ * \brief X-Modem serial transmission protocol
.
*
* \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
* \author Francesco Sacchi <batt@develer.com>
*
* \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
* \author Francesco Sacchi <batt@develer.com>
+ *
+ * $WIZ$ module_name = "xmodem"
+ * $WIZ$ module_depends = "kfile", "crc16"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_xmodem.h"
*/
*/
@@
-64,11
+68,7
@@
#define XMODEM_PROGRESS(msg, ...) kprintf(msg, ## __VA_ARGS__)
#endif
#define XMODEM_PROGRESS(msg, ...) kprintf(msg, ## __VA_ARGS__)
#endif
-
-/* fwd decl */
-struct Serial;
-
-bool xmodem_recv(struct Serial *port, KFile *fd);
-bool xmodem_send(struct Serial *port, KFile *fd);
+bool xmodem_recv(KFile *ch, KFile *fd);
+bool xmodem_send(KFile *ch, KFile *fd);
#endif /* NET_XMODEM_H */
#endif /* NET_XMODEM_H */