Skip to content

Commit 3a96fc0

Browse files
authored
framebuffer location for no-psram boards (espressif#6219)
If board has no PSRAM, we need to set the framebuffer location to DRAM: config.fb_location = CAMERA_FB_IN_DRAM;
1 parent 5be3ff7 commit 3a96fc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: libraries/ESP32/examples/Camera/CameraWebServer/CameraWebServer.ino

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ void setup() {
6262
config.frame_size = FRAMESIZE_SVGA;
6363
config.jpeg_quality = 12;
6464
config.fb_count = 1;
65+
config.fb_location = CAMERA_FB_IN_DRAM;
6566
}
6667

6768
#if defined(CAMERA_MODEL_ESP_EYE)

0 commit comments

Comments
 (0)