mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-22 16:43:43 +08:00
Turn up brightness a little when UI crashes (#20142)
* implement ui check and brightness set in thermald
* fix bugs
* only set once
* duh
* forgot factor for tici
old-commit-hash: 4c243da019
This commit is contained in:
@@ -101,3 +101,7 @@ class HardwareBase:
|
||||
@abstractmethod
|
||||
def get_thermal_config(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def set_screen_brightness(self, percentage):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user