ui.cc: fix Hardware::TICI() check for screen brightness (#22847)

pull/22850/head
eFini 4 years ago committed by GitHub
parent 35d6ed1014
commit 1f106e3725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/ui/ui.cc

@ -174,7 +174,7 @@ static void update_state(UIState *s) {
float max_gain = Hardware::EON() ? 1.0: 10.0;
float max_ev = max_lines * max_gain;
if (Hardware::TICI) {
if (Hardware::TICI()) {
max_ev /= 6;
}

Loading…
Cancel
Save