File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -292,12 +292,6 @@ CFLAGS += -isystem esp32-camera/driver/include
292
292
CFLAGS += -isystem esp32-camera/conversions/include
293
293
endif
294
294
295
- ifneq ($(CIRCUITPY_IMAGECAPTURE ) ,0)
296
- $(error IMAGECAPTURE)
297
- SRC_C += cam.c
298
- endif
299
-
300
-
301
295
SRC_COMMON_HAL_EXPANDED = \
302
296
$(addprefix shared-bindings/, $(SRC_COMMON_HAL ) ) \
303
297
$(addprefix shared-bindings/, $(SRC_BINDINGS_ENUMS ) ) \
Original file line number Diff line number Diff line change 76
76
#include "shared-bindings/_bleio/__init__.h"
77
77
#endif
78
78
79
- #if CIRCUITPY_IMAGECAPTURE
80
- #include "cam .h"
79
+ #if CIRCUITPY_ESP32_CAMERA
80
+ #include "esp_camera .h"
81
81
#endif
82
82
83
83
#ifndef CONFIG_IDF_TARGET_ESP32
@@ -335,8 +335,8 @@ safe_mode_t port_init(void) {
335
335
336
336
void reset_port (void ) {
337
337
// TODO deinit for esp32-camera
338
- #if CIRCUITPY_IMAGECAPTURE
339
- cam_deinit ();
338
+ #if CIRCUITPY_ESP32_CAMERA
339
+ esp_camera_deinit ();
340
340
#endif
341
341
342
342
reset_all_pins ();
You can’t perform that action at this time.
0 commit comments