mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
sensors/ov7670: Fix CLKRC bypass/pre-scaler.
This commit is contained in:
parent
275ce67269
commit
de7f161acd
@ -23,7 +23,11 @@
|
||||
|
||||
static const uint8_t default_regs[][2] = {
|
||||
// OV7670 reference registers
|
||||
{ CLKRC, CLKRC_PRESCALER_BYPASS | OMV_OV7670_CLKRC },
|
||||
#if (OMV_OV7670_CLKRC == 0)
|
||||
{ CLKRC, CLKRC_PRESCALER_BYPASS },
|
||||
#else
|
||||
{ CLKRC, OMV_OV7670_CLKRC },
|
||||
#endif
|
||||
{ TSLB, 0x04 },
|
||||
{ COM7, 0x00 },
|
||||
{ HSTART, 0x13 },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user