forked from espressif/arduino-esp32
framebuffer location for no-psram boards (#6219)
If board has no PSRAM, we need to set the framebuffer location to DRAM: config.fb_location = CAMERA_FB_IN_DRAM;
This commit is contained in:
@ -62,6 +62,7 @@ void setup() {
|
|||||||
config.frame_size = FRAMESIZE_SVGA;
|
config.frame_size = FRAMESIZE_SVGA;
|
||||||
config.jpeg_quality = 12;
|
config.jpeg_quality = 12;
|
||||||
config.fb_count = 1;
|
config.fb_count = 1;
|
||||||
|
config.fb_location = CAMERA_FB_IN_DRAM;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CAMERA_MODEL_ESP_EYE)
|
#if defined(CAMERA_MODEL_ESP_EYE)
|
||||||
|
Reference in New Issue
Block a user