Update ports/espressif/common-hal/esp32_camera/Camera.c
Co-authored-by: Mark <56205165+gamblor21@users.noreply.github.com>
This commit is contained in:
parent
dc27fb967d
commit
2c6f57be5e
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user