From 771e38ff1b1d126bcaf8eb7b72d1c45c6bdec2be Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 15 Jul 2013 16:21:20 -0600 Subject: Fix file write loop --- apps/include/zmodem.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/include') 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 -- cgit v1.2.3