Merge pull request #39 from mithro/master

Wait longer before giving up on the 2nd tftp block.
This commit is contained in:
Tim Ansell 2017-12-29 23:57:42 +01:00 committed by GitHub
commit 2cc6a3036c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ int tftp_get(uint32_t ip, const char *filename, void *buffer)
} }
} }
i = 12000000;
length_before = total_length; length_before = total_length;
while(!transfer_finished) { while(!transfer_finished) {
if(length_before != total_length) { if(length_before != total_length) {