File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
ports/espressif/common-hal/espcamera Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 1515#include "shared-bindings/util.h"
1616#include "common-hal/microcontroller/Pin.h"
1717
18- // These two includes are needed to peek into the i2c handle to get the i2c port
19- // number.
20- #include "sdkconfig.h"
21- // Define these two macros if not defined so that we don't get the -Wundef
22- // warning from i2c_private.h
23- #ifndef CONFIG_I2C_ISR_IRAM_SAFE
24- #define CONFIG_I2C_ISR_IRAM_SAFE 0
25- #endif
26- #ifndef CONFIG_PM_ENABLE
27- #define CONFIG_PM_ENABLE 0
28- #endif
29-
30- // i2c_private.h uses `#if` with some macros that may be undefined and taken as 0.
31- #pragma GCC diagnostic push
32- #pragma GCC diagnostic ignored "-Wundef"
33- #include "esp-idf/components/esp_driver_i2c/i2c_private.h"
34- #pragma GCC diagnostic pop
35-
3618#include "esp-camera/driver/private_include/cam_hal.h"
3719
3820#if !CONFIG_SPIRAM
You can’t perform that action at this time.
0 commit comments