Trying to trigger autofocus no longer works

Hello, when I try to call sensor.ioctl(sensor.IOCTL_TRIGGER_AUTO_FOCUS, True) on Giga R1 with ov5640 connected, but I get attribute error: ‘module’ object has no member IOCTL_TRIGGER_AUTO_FOCUS.

Is OMV_ENABLE_OV5640_AF defined? I see that it is in your PR.

Also, please make sure you do make clean when modifying the board config as this changes the QSTRs found by MicroPython. So, you can end up with inconsistent builds.

1 Like

That fixed it, but now I for some reason get sensor control failed. In the end I just had to put it elsewhere in the code