Merge pull request #1341 from openmv/ov7670_clkrc

Make OV7670 CLKRC configurable.
This commit is contained in:
Ibrahim Abd Elkader 2021-05-26 21:33:55 +02:00 committed by GitHub
commit 35fa8b8d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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 },