mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix error with compress_for_ide()
Forgot to add size of start and end markers.
This commit is contained in:
parent
8eebf5d5e4
commit
2557070422
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user