Skip to content

Commit 44e6a96

Browse files
authored
modcamera.h aktualisieren
20 MHz as default for all
1 parent 25c9469 commit 44e6a96

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/modcamera.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@ defined (MICROPY_CAMERA_PIN_PCLK) && defined (MICROPY_CAMERA_PIN_VSYNC) && defin
5858
#define MICROPY_CAMERA_PIN_RESET (-1)
5959
#endif
6060

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)
61+
#ifndef MICROPY_CAMERA_XCLK_FREQ
62+
#define MICROPY_CAMERA_XCLK_FREQ (20)
6563
#endif
6664

6765
#if !defined (MICROPY_CAMERA_GRAB_MODE) && defined (CONFIG_IDF_TARGET_ESP32S3)

0 commit comments

Comments
 (0)