summaryrefslogtreecommitdiff
path: root/apps/system/zmodem/zm.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-15 16:21:20 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-15 16:21:20 -0600
commit771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be (patch)
treef1f07532d961c5bb5e5379a78dea0cd57022c755 /apps/system/zmodem/zm.h
parent2ec900deababd3ae9be28e9673764866f1a72fbc (diff)
downloadpx4-nuttx-771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be.tar.gz
px4-nuttx-771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be.tar.bz2
px4-nuttx-771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be.zip
Fix file write loop
Diffstat (limited to 'apps/system/zmodem/zm.h')
-rw-r--r--apps/system/zmodem/zm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/system/zmodem/zm.h b/apps/system/zmodem/zm.h
index 1f8201469..d025e94ef 100644
--- a/apps/system/zmodem/zm.h
+++ b/apps/system/zmodem/zm.h
@@ -183,7 +183,8 @@
#define ZME_COMMAND ZCOMMAND /* Command, from sending program */
#define ZME_STDERR ZSTDERR /* Output this message to stderr */
-#define ZME_OO 252 /* Received OO, termining the receiver */
+#define ZME_CANCEL 251 /* Received the cancelation sequence */
+#define ZME_OO 252 /* Received OO, terminating the receiver */
#define ZME_DATARCVD 253 /* Data received */
#define ZME_TIMEOUT 254 /* Timeout */
#define ZME_ERROR 255 /* Protocol error */