Move static varibles in the Afsk structure in order to allow multiple modem instances.
[bertos.git] / bertos / net / xmodem.c
index 63befb6b8d6761ce086caa626f12e4fd7548021a..35da28366b921c8b559571170c89bbf89f8eeb03 100644 (file)
@@ -50,8 +50,6 @@
 #include "cfg/cfg_xmodem.h"
 #include <cfg/debug.h>
 
-#include <drv/ser.h>
-
 #include <algo/crc.h>
 
 #include <string.h> /* for memset() */
@@ -80,7 +78,7 @@
 /**
  * \brief Receive a file using the XModem protocol.
  *
- * \param KFile channet to use for transfer
+ * \param ch Channel to use for transfer
  * \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.
  *
- * \param KFile channet to use for transfer
+ * \param ch Channel to use for transfer
  * \param fd Source file
  *
  * \note This function allocates a large amount of stack for