Skip to content

Commit bae46be

Browse files
authored
Update example to place frame buffer in PSRAM (#648)
ESP32 failed to start the example
1 parent f0bb429 commit bae46be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/camera_example/main/take_picture.c

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ static camera_config_t camera_config = {
125125

126126
.jpeg_quality = 12, //0-63, for OV series camera sensors, lower number means higher quality
127127
.fb_count = 1, //When jpeg mode is used, if fb_count more than one, the driver will work in continuous mode.
128+
.fb_location = CAMERA_FB_IN_PSRAM,
128129
.grab_mode = CAMERA_GRAB_WHEN_EMPTY,
129130
};
130131

0 commit comments

Comments
 (0)