From b05eb4cac6dc696593e557f34cdbf9e763f507e4 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 19 Aug 2021 16:54:34 +0200 Subject: [PATCH] C3: increase brightness at night a little old-commit-hash: 01e779ef2d9da40ea0675466054e4f4eb22eb2dd --- selfdrive/ui/ui.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index 1520aea3c2..f6fbb495e1 100644 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -188,9 +188,8 @@ static void update_state(UIState *s) { float max_gain = Hardware::EON() ? 1.0: 10.0; float max_ev = max_lines * max_gain; - // C3 camera only uses about 10% of available gain at night if (Hardware::TICI) { - max_ev /= 10; + max_ev /= 6; } float ev = camera_state.getGain() * float(camera_state.getIntegLines());