mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix mutable_bayer error message.
This commit is contained in:
parent
a27e30dcb8
commit
577899a5a0
@ -29,7 +29,7 @@ image_t *py_helper_arg_to_image_mutable(const mp_obj_t arg)
|
||||
image_t *py_helper_arg_to_image_mutable_bayer(const mp_obj_t arg)
|
||||
{
|
||||
image_t *arg_img = py_image_cobj(arg);
|
||||
PY_ASSERT_TRUE_MSG(IMAGE_IS_MUTABLE_BAYER(arg_img), "Image is not mutable Bayer!");
|
||||
PY_ASSERT_TRUE_MSG(IMAGE_IS_MUTABLE_BAYER(arg_img), "Image is not mutable!");
|
||||
return arg_img;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user