From 311d401cc52090bc933e38a30c22193b50dd0bdf Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Sun, 1 Oct 2023 14:19:30 +0200 Subject: [PATCH] sensors/OV7670: Fix VGA window. --- src/omv/sensors/ov7670.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/omv/sensors/ov7670.c b/src/omv/sensors/ov7670.c index 73dcdd608..b330fe968 100644 --- a/src/omv/sensors/ov7670.c +++ b/src/omv/sensors/ov7670.c @@ -256,12 +256,12 @@ static const uint8_t vga_regs[][2] = { { COM14, 0x00 }, { 0x72, 0x11 }, // downsample by 4 { 0x73, 0xf0 }, // divide by 4 - { HSTART, 0x12 }, - { HSTOP, 0x00 }, + { HSTART, 0x13 }, + { HSTOP, 0x01 }, { HREF, 0xb6 }, { VSTART, 0x02 }, { VSTOP, 0x7a }, - { VREF, 0x00 }, + { VREF, 0x03 }, { 0xFF, 0xFF }, };