diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-07-15 16:21:20 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-07-15 16:21:20 -0600 |
commit | 771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be (patch) | |
tree | f1f07532d961c5bb5e5379a78dea0cd57022c755 /apps/include | |
parent | 2ec900deababd3ae9be28e9673764866f1a72fbc (diff) | |
download | nuttx-771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be.tar.gz nuttx-771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be.tar.bz2 nuttx-771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be.zip |
Fix file write loop
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/zmodem.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/include/zmodem.h b/apps/include/zmodem.h index 64951a7b8..d249875ad 100644 --- a/apps/include/zmodem.h +++ b/apps/include/zmodem.h @@ -135,6 +135,15 @@ # define CONFIG_SYSTEM_ZMODEM_RESPTIME 10 #endif +/* When rz starts, it must wait a for the remote end to start the file + * transfer. This may take longer than the normal response time. This + * value may be set to tune that longer timeout value. + */ + +#ifndef CONFIG_SYSTEM_ZMODEM_CONNTIME +# define CONFIG_SYSTEM_ZMODEM_CONNTIME 30 +#endif + /* Receiver serial number */ #ifndef CONFIG_SYSTEM_ZMODEM_SERIALNO |