We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3044e1 + 0e34f7d commit f3b4984Copy full SHA for f3b4984
app/lua/lflash.c
@@ -539,7 +539,7 @@ static int loadLFS (lua_State *L) {
539
flashSetPosition(0);
540
541
if ((res = uzlib_inflate(get_byte, put_byte, recall_byte,
542
- in->len, &crc, &in->inflate_state)) != UZLIB_OK) {
+ in->len, &crc, &in->inflate_state)) != UZLIB_DONE) {
543
const char *err[] = {"Data_error during decompression",
544
"Chksum_error during decompression",
545
"Dictionary error during decompression",
0 commit comments