summaryrefslogtreecommitdiff
path: root/apps/system/zmodem/zm_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/zmodem/zm_proto.c')
-rw-r--r--apps/system/zmodem/zm_proto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/system/zmodem/zm_proto.c b/apps/system/zmodem/zm_proto.c
index 9af600f8a..f730a984c 100644
--- a/apps/system/zmodem/zm_proto.c
+++ b/apps/system/zmodem/zm_proto.c
@@ -199,7 +199,8 @@ int zm_senddata(FAR struct zm_state_s *pzm, FAR const uint8_t *buffer,
}
term = ZCRCW;
- zmdbg("zbin=%c, buflen=%d, term=%c\n", zbin, buflen, term);
+ zmdbg("zbin=%c, buflen=%d, term=%c flags=%04x\n",
+ zbin, buflen, term, pzm->flags);
/* Transfer the data to the I/O buffer, accumulating the CRC */
@@ -496,6 +497,6 @@ int zm_sendbinhdr(FAR struct zm_state_s *pzm, int type,
}
else
{
- return zm_sendbin16hdr(pzm, type, buffer);
+ return zm_sendbin32hdr(pzm, type, buffer);
}
}