summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2014-07-15 14:58:05 +0800
committerGrissiom <[email protected]>2014-07-15 14:58:05 +0800
commit2aa51d42f910781cc25747347eea4e0ae6bd1b77 (patch)
tree715e3f7753a972eebeb09d6ac351fdc001ae7a53
parentff1eb2cbc9b7bb146cae957d15cccfb67285d57e (diff)
ymodem: increase the default RYM_CHD_INTV_TICK
Frequent 'C' on the handshake will confuse some sender(lrzsz for example).
-rw-r--r--components/utilities/ymodem/ymodem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/utilities/ymodem/ymodem.h b/components/utilities/ymodem/ymodem.h
index daed61d15f..43ee6f5c10 100644
--- a/components/utilities/ymodem/ymodem.h
+++ b/components/utilities/ymodem/ymodem.h
@@ -52,7 +52,7 @@ enum rym_code {
#endif
/* how many ticks between two handshake code. */
#ifndef RYM_CHD_INTV_TICK
-#define RYM_CHD_INTV_TICK (RT_TICK_PER_SECOND / 4)
+#define RYM_CHD_INTV_TICK (RT_TICK_PER_SECOND * 3)
#endif
enum rym_stage {