summaryrefslogtreecommitdiff
path: root/apps/system/zmodem/zm_send.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-16 11:23:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-16 11:23:35 -0600
commit1b5be829a95be37bf563837919eb4b9cfb85291b (patch)
tree775aa64f32704716569faef1bfb0e43a22e37012 /apps/system/zmodem/zm_send.c
parent5ffc120b3c601a70154e654b2dbac86651c7cda3 (diff)
downloadnuttx-1b5be829a95be37bf563837919eb4b9cfb85291b.tar.gz
nuttx-1b5be829a95be37bf563837919eb4b9cfb85291b.tar.bz2
nuttx-1b5be829a95be37bf563837919eb4b9cfb85291b.zip
Fix problems with host build of the Zmodem tools
Diffstat (limited to 'apps/system/zmodem/zm_send.c')
-rw-r--r--apps/system/zmodem/zm_send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/system/zmodem/zm_send.c b/apps/system/zmodem/zm_send.c
index df8e8414f..7ddd4d5db 100644
--- a/apps/system/zmodem/zm_send.c
+++ b/apps/system/zmodem/zm_send.c
@@ -496,6 +496,8 @@ static int zms_zrinit(FAR struct zm_state_s *pzm)
else
# endif
{
+ zmdbg("ZMS_STATE %d->%d\n", pzm->state, );
+ pzm->state = ZMS_DONE;
return ZM_XFRDONE;
}
#endif