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

This commit is contained in:
eFini
2021-11-10 17:10:35 +08:00
committed by GitHub
parent 35d6ed1014
commit 1f106e3725
+1 -1
View File
@@ -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;
}