FW 4.1.0 - The requested operation is not supported on the current pixel format

I have a problem with new firmware version in OpenMV H7 PLUS.
Recently, I upgraded my firmware to 4.1.0, then I get the following error:
RuntimeError: The requested operation is not supported on the current pixel format

sensor.ioctl(sensor.IOCTL_SET_READOUT_WINDOW, (center_x, center_y, w, h))

It works well in prev fw, how to resolve this problem?

I’ll release a new firmware in a few days that will fix all these issues, for now you could try to add an extra arg (anything 0, 1) and it should work ex:

sensor.ioctl(sensor.IOCTL_SET_READOUT_WINDOW, (center_x, center_y, w, h), 0)