Fix error with compress_for_ide()

Forgot to add size of start and end markers.
This commit is contained in:
Kwabena W. Agyeman 2017-05-28 23:06:50 -04:00
parent 8eebf5d5e4
commit 2557070422

View File

@ -630,7 +630,7 @@ static mp_obj_t py_image_compress_for_ide(uint n_args, const mp_obj_t *args, mp_
*ptr++ = 0xFE;
out.bpp = ((out.bpp * 8) + 5) / 6;
out.bpp = (((out.bpp * 8) + 5) / 6) + 2;
arg_img->bpp = out.bpp;
fb_free();
fb_alloc_free_till_mark();