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

old-commit-hash: 1f106e37257c967ea2d337a112f315631bc52bd7
This commit is contained in:
eFini
2021-11-10 17:10:35 +08:00
committed by GitHub
parent caa01d2f95
commit ad64b505fe
+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;
}