mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 17:02:04 +08:00
ui.cc: fix Hardware::TICI() check for screen brightness (#22847)
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user