diff --git a/src/omv/boards/NANO33/omv_boardconfig.h b/src/omv/boards/NANO33/omv_boardconfig.h index bbc390770..a93b66132 100644 --- a/src/omv/boards/NANO33/omv_boardconfig.h +++ b/src/omv/boards/NANO33/omv_boardconfig.h @@ -49,6 +49,9 @@ // Set which OV767x sensor is used #define OMV_OV7670_VERSION (75) +// OV7670 clock divider +#define OMV_OV7670_CLKRC (0x01) + // Enable sensor features #define OMV_ENABLE_OV5640_AF (0) diff --git a/src/omv/sensors/ov7670.c b/src/omv/sensors/ov7670.c index 3bff60499..b0eec8550 100644 --- a/src/omv/sensors/ov7670.c +++ b/src/omv/sensors/ov7670.c @@ -23,7 +23,7 @@ static const uint8_t default_regs[][2] = { // OV7670 reference registers - { CLKRC, 0x01 }, // Input clock / 2 + { CLKRC, OMV_OV7670_CLKRC }, { TSLB, 0x04 }, { COM7, 0x00 }, { HSTART, 0x13 },