fix OS04 line lengths (#34093)

* was bs

* 69c-8

---------

Co-authored-by: Comma Device <device@comma.ai>
pull/34095/head
ZwX1616 5 months ago committed by GitHub
parent 38318db4c6
commit 83950c1b36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      system/camerad/sensors/os04c10.cc
  2. 5
      system/camerad/sensors/os04c10_registers.h

@ -50,7 +50,7 @@ OS04C10::OS04C10() {
dc_gain_on_grey = 0.9;
dc_gain_off_grey = 1.0;
exposure_time_min = 2;
exposure_time_max = 2352;
exposure_time_max = 1684;
analog_gain_min_idx = 0x0;
analog_gain_rec_idx = 0x0; // 1x
analog_gain_max_idx = 0x28;

@ -278,8 +278,8 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
{0x3816, 0x03},
{0x3817, 0x01},
{0x380c, 0x08}, {0x380d, 0x5c}, // HTS
{0x380e, 0x09}, {0x380f, 0x38}, // VTS
{0x380c, 0x0b}, {0x380d, 0xac}, // HTS
{0x380e, 0x06}, {0x380f, 0x9c}, // VTS
{0x3820, 0xb3},
{0x3821, 0x01},
@ -307,7 +307,6 @@ const struct i2c_random_wr_payload init_array_os04c10[] = {
// {0x0100, 0x01},
// {0x320d, 0x00},
// {0x3208, 0xa0},
{0x3822, 0x14},
// initialize exposure
{0x3503, 0x88},

Loading…
Cancel
Save