mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
Add option -d (decompress) to fpga_compress. Allows testing.
Improve zlib deflate (note: no change required to inflate).
This commit is contained in:
parent
0fa01ec7da
commit
4b3f6d79ea
5 changed files with 204 additions and 11 deletions
|
@ -847,8 +847,8 @@ int flush;
|
|||
break;
|
||||
case 1: /* fixed block */
|
||||
#ifdef ZLIB_PM3_TUNED
|
||||
Dbprintf("FATAL error. Compressed FPGA files with fixed code blocks are not supported!");
|
||||
for(;;);
|
||||
strm->msg = (char *)"fixed block coding not supported";
|
||||
state->mode = BAD;
|
||||
#else
|
||||
fixedtables(state);
|
||||
Tracev((stderr, "inflate: fixed codes block%s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue