]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/fpgaloader.c
replaced gzip with an own compressor tool (fpga_compress.c, based on zlib)
[proxmark3-svn] / armsrc / fpgaloader.c
index be0d87d61bc1633cb431690d3a3c3383ffe904d6..573aac3a8af9f8f288279a401a79aa443214e47a 100644 (file)
@@ -228,8 +228,7 @@ static bool reset_fpga_stream(int bitstream_version, z_streamp compressed_fpga_s
        compressed_fpga_stream->zalloc = &fpga_inflate_malloc;
        compressed_fpga_stream->zfree = &fpga_inflate_free;
 
        compressed_fpga_stream->zalloc = &fpga_inflate_malloc;
        compressed_fpga_stream->zfree = &fpga_inflate_free;
 
-       // initialize inflate with WindowBits=15 and to automatically detect header:
-       inflateInit2(compressed_fpga_stream, 15+32);
+       inflateInit2(compressed_fpga_stream, 15);
 
        fpga_image_ptr = output_buffer;
 
 
        fpga_image_ptr = output_buffer;
 
Impressum, Datenschutz