From 3c5a97251f2ac3167197f4b47074c29bdbad8118 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Fri, 2 Jul 2021 14:01:43 +0200 Subject: [PATCH] tici: Switch to 1D dead pixel correction (#21467) old-commit-hash: 8d075048b30ea00a9d202165f63445d389426814 --- selfdrive/camerad/cameras/sensor2_i2c.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selfdrive/camerad/cameras/sensor2_i2c.h b/selfdrive/camerad/cameras/sensor2_i2c.h index 5898bd4cce..38a05820f4 100644 --- a/selfdrive/camerad/cameras/sensor2_i2c.h +++ b/selfdrive/camerad/cameras/sensor2_i2c.h @@ -56,7 +56,10 @@ struct i2c_random_wr_payload init_array_ar0231[] = { {0x337A, 0x0C80}, // DBLC_SCALE0 {0x3370, 0x03B1}, // DBLC {0x3044, 0x0400}, // DARK_CONTROL - {0x31E0, 0x0001}, // PDC + + // Enable dead pixel correction using + // the 1D line correction scheme + {0x31E0, 0x0003}, // HDR Settings {0x3082, 0x0004}, // OPERATION_MODE_CTRL