We get a crash caused by a failing assert when we use the following config. In particular we see the crash when using Grayscale and 96x96 resolution. The platform is ESP32-S3 using PSRAM. We traced it to cam_hal.c attempting to create a queue of size 0. This PR has a change where we make sure the queue size is at least 1. This fixes our case, but maybe there's a more elegant or robust way of fixing it.
We get a crash caused by a failing assert when we use the following config. In particular we see the crash when using Grayscale and 96x96 resolution. The platform is ESP32-S3 using PSRAM. We traced it to cam_hal.c attempting to create a queue of size 0. This PR has a change where we make sure the queue size is at least 1. This fixes our case, but maybe there's a more elegant or robust way of fixing it.