diff options
author | Pavel Vymetálek <pavel@vym.cz> | 2019-03-09 14:42:20 +0100 |
---|---|---|
committer | Pavel Vymetálek <pavel@vym.cz> | 2019-03-09 14:42:20 +0100 |
commit | cde51f8e3d769ea26870a5fed5c0f60c9343a9c4 (patch) | |
tree | d384982dd7c7d5b74899815e41d88795b7cfc825 /sercp.c | |
parent | 33e4233b0f7a6f7c1c3b5f17b0ae6fa4f882457b (diff) | |
download | sercp-pc-cde51f8e3d769ea26870a5fed5c0f60c9343a9c4.tar.gz |
Zrušeno čekání po posledním blokuv0.2
Diffstat (limited to 'sercp.c')
-rw-r--r-- | sercp.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -591,9 +591,10 @@ void sercpSend(void) { } DoProgress(overall_sent, st.st_size, PROGRESS_PERCENT); } - sleep_ms(wait_ms); - file_len -= len; + if (file_len > 0) { + sleep_ms(wait_ms); + } } if (is_continue) { printf("\nFile sent...\n"); |