Merge pull request #2961 from seregaxvm/lfsfix

fix lfs upload issue
This commit is contained in:
Terry Ellison 2019-11-14 18:07:05 +00:00 committed by GitHub
commit f3b49849d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ static int loadLFS (lua_State *L) {
flashSetPosition(0);
if ((res = uzlib_inflate(get_byte, put_byte, recall_byte,
in->len, &crc, &in->inflate_state)) != UZLIB_OK) {
in->len, &crc, &in->inflate_state)) != UZLIB_DONE) {
const char *err[] = {"Data_error during decompression",
"Chksum_error during decompression",
"Dictionary error during decompression",