C3: increase brightness at night a little

old-commit-hash: 01e779ef2d
commatwo_master
Willem Melching 4 years ago
parent 32b8787d9f
commit b05eb4cac6
  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