C3: increase brightness at night a little

pull/21972/head
Willem Melching 4 years ago
parent dd0c6fca5d
commit 01e779ef2d
  1. 3
      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());

Loading…
Cancel
Save