We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c9469 commit 44e6a96Copy full SHA for 44e6a96
src/modcamera.h
@@ -58,10 +58,8 @@ defined (MICROPY_CAMERA_PIN_PCLK) && defined (MICROPY_CAMERA_PIN_VSYNC) && defin
58
#define MICROPY_CAMERA_PIN_RESET (-1)
59
#endif
60
61
-#if !defined (MICROPY_CAMERA_XCLK_FREQ) && defined (CONFIG_IDF_TARGET_ESP32S3)
62
-#define MICROPY_CAMERA_XCLK_FREQ (20)
63
-#elif !defined(MICROPY_CAMERA_XCLK_FREQ)
64
-#define MICROPY_CAMERA_XCLK_FREQ (10)
+#ifndef MICROPY_CAMERA_XCLK_FREQ
+#define MICROPY_CAMERA_XCLK_FREQ (20)
65
66
67
#if !defined (MICROPY_CAMERA_GRAB_MODE) && defined (CONFIG_IDF_TARGET_ESP32S3)
0 commit comments