Skip to content

Commit

Permalink
Update example to place frame buffer in PSRAM (#648)
Browse files Browse the repository at this point in the history
ESP32 failed to start the example
  • Loading branch information
me-no-dev authored Mar 21, 2024
1 parent f0bb429 commit bae46be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/camera_example/main/take_picture.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit bae46be

Please sign in to comment.