64 is optimal

pull/32112/head
Comma Device 1 year ago
parent 41119dcd10
commit 359ebcc4ed
  1. 2
      system/camerad/sensors/os04c10.cc
  2. 4
      system/camerad/sensors/os04c10_registers.h

@ -23,7 +23,7 @@ OS04C10::OS04C10() {
data_word = false;
frame_width = 2688;
frame_height = 1520 * 2 + 24; // stagger separated by 24 rows
frame_height = 1520 * 2 + 136; // stagger 64*2 + 8
frame_stride = (frame_width * 10 / 8); // no alignment
extra_height = 0;

@ -299,12 +299,12 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x3503, 0x88},
// long
{0x3500, 0x00}, {0x3501, 0x00}, {0x3502, 0x20},
{0x3500, 0x00}, {0x3501, 0x00}, {0x3502, 0x10},
{0x3508, 0x00}, {0x3509, 0x80},
{0x350a, 0x04}, {0x350b, 0x00},
// short
{0x3510, 0x00}, {0x3511, 0x00}, {0x3512, 0x08},
{0x3510, 0x00}, {0x3511, 0x00}, {0x3512, 0x40},
{0x350c, 0x00}, {0x350d, 0x80},
{0x350e, 0x04}, {0x350f, 0x00},

Loading…
Cancel
Save