fix OS04 line lengths (#34093)

* was bs

* 69c-8

---------

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
ZwX1616
2024-11-22 20:26:41 -08:00
committed by GitHub
parent 38318db4c6
commit 83950c1b36
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -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;
+2 -3
View File
@@ -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},