diff --git a/system/camerad/sensors/os04c10.cc b/system/camerad/sensors/os04c10.cc index bf812f257a..2bab51111d 100644 --- a/system/camerad/sensors/os04c10.cc +++ b/system/camerad/sensors/os04c10.cc @@ -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; diff --git a/system/camerad/sensors/os04c10_registers.h b/system/camerad/sensors/os04c10_registers.h index ec6b6c128f..03fb73fbc9 100644 --- a/system/camerad/sensors/os04c10_registers.h +++ b/system/camerad/sensors/os04c10_registers.h @@ -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},