File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -306,14 +306,17 @@ static void jade_camera_init(void)
306306 JADE_LOGE ("Failed to set camera hmirror/vflip, returned: %d/%d" , hret , vret );
307307 }
308308 }
309+
310+ // OV3660 needs a vertical flip for the ESP32 Wrover Cam
309311 // OV5640 needs vertical flip for T-Display S3 PRO
310- else if (camera_info -> model == CAMERA_OV5640 ) {
312+ else if (camera_info -> model == CAMERA_OV3660 || camera_info -> model == CAMERA_OV5640 ) {
311313 JADE_ASSERT (camera_sensor -> set_vflip );
312314 const int vret = camera_sensor -> set_vflip (camera_sensor , 1 );
313315 if (vret ) {
314316 JADE_LOGE ("Failed to set camera vflip, returned: %d" , vret );
315317 }
316318 }
319+
317320#if defined(CONFIG_DISPLAY_TOUCHSCREEN )
318321 touchscreen_deinit ();
319322 touchscreen_init ();
You can’t perform that action at this time.
0 commit comments