From 54355fe9c3ee1e3ecba9d0bc37504c1074e57168 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Thu, 21 Mar 2024 13:42:57 +0200 Subject: [PATCH] Update example to place frame buffer in PSRAM ESP32 failed to start the example --- examples/camera_example/main/take_picture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/camera_example/main/take_picture.c b/examples/camera_example/main/take_picture.c index 3a243d2554..115b10f0ee 100644 --- a/examples/camera_example/main/take_picture.c +++ b/examples/camera_example/main/take_picture.c @@ -125,6 +125,7 @@ static camera_config_t camera_config = { .jpeg_quality = 12, //0-63, for OV series camera sensors, lower number means higher quality .fb_count = 1, //When jpeg mode is used, if fb_count more than one, the driver will work in continuous mode. + .fb_location = CAMERA_FB_IN_PSRAM, .grab_mode = CAMERA_GRAB_WHEN_EMPTY, };