Skip to content

Commit 0e34f7d

Browse files
author
Matsievskiy S.V
committed
fix lfs upload issue
1 parent f3044e1 commit 0e34f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/lua/lflash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ static int loadLFS (lua_State *L) {
539539
flashSetPosition(0);
540540

541541
if ((res = uzlib_inflate(get_byte, put_byte, recall_byte,
542-
in->len, &crc, &in->inflate_state)) != UZLIB_OK) {
542+
in->len, &crc, &in->inflate_state)) != UZLIB_DONE) {
543543
const char *err[] = {"Data_error during decompression",
544544
"Chksum_error during decompression",
545545
"Dictionary error during decompression",

0 commit comments

Comments
 (0)