Update ports/espressif/common-hal/esp32_camera/Camera.c

Co-authored-by: Mark <56205165+gamblor21@users.noreply.github.com>
This commit is contained in:
Jeff Epler 2022-08-28 16:46:50 -05:00 committed by GitHub
parent dc27fb967d
commit 2c6f57be5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ void common_hal_esp32_camera_camera_construct(
if (common_hal_espidf_get_reserved_psram() == 0) { if (common_hal_espidf_get_reserved_psram() == 0) {
mp_raise_msg(&mp_type_MemoryError, translate( mp_raise_msg(&mp_type_MemoryError, translate(
"esp32_camera.Camera requires reserved PSRAM to be configured. " "esp32_camera.Camera requires reserved PSRAM to be configured. "
"See the documentation for instructions."); "See the documentation for instructions."));
} }
for (int i = 0; i < 8; i++) { for (int i = 0; i < 8; i++) {
claim_pin_number(data_pins[i]); claim_pin_number(data_pins[i]);