projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor to use new protocol module and sipo.
[bertos.git]
/
bertos
/
net
/
xmodem.h
diff --git
a/bertos/net/xmodem.h
b/bertos/net/xmodem.h
index 8832530fc4b9b43824a8aa919ca2a37594814b3b..2e864d6da1f075d587fea5ce7f4627d651bf1ae0 100644
(file)
--- a/
bertos/net/xmodem.h
+++ b/
bertos/net/xmodem.h
@@
-32,12
+32,11
@@
* -->
* \brief X-Modem serial transmission protocol.
*
* -->
* \brief X-Modem serial transmission protocol.
*
- * \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
* \author Francesco Sacchi <batt@develer.com>
*
* $WIZ$ module_name = "xmodem"
* \author Bernie Innocenti <bernie@codewiz.org>
* \author Francesco Sacchi <batt@develer.com>
*
* $WIZ$ module_name = "xmodem"
- * $WIZ$ module_depends = "kfile"
+ * $WIZ$ module_depends = "kfile"
, "crc16"
* $WIZ$ module_configuration = "bertos/cfg/cfg_xmodem.h"
*/
* $WIZ$ module_configuration = "bertos/cfg/cfg_xmodem.h"
*/
@@
-46,7
+45,7
@@
#define NET_XMODEM_H
#include <cfg/compiler.h>
#define NET_XMODEM_H
#include <cfg/compiler.h>
-#include <
kern
/kfile.h>
+#include <
io
/kfile.h>
/**
* Called to know if we want to abort data tranfer.
/**
* Called to know if we want to abort data tranfer.
@@
-58,16
+57,6
@@
#endif
/*\}*/
#endif
/*\}*/
-
-/**
- * Called to printf progress messages.
- * Default to kprintf debug, redefine to whatever you need.
- * \{
- */
-#ifndef XMODEM_PROGRESS
-#define XMODEM_PROGRESS(msg, ...) kprintf(msg, ## __VA_ARGS__)
-#endif
-
bool xmodem_recv(KFile *ch, KFile *fd);
bool xmodem_send(KFile *ch, KFile *fd);
bool xmodem_recv(KFile *ch, KFile *fd);
bool xmodem_send(KFile *ch, KFile *fd);