hardware: make set_display_power not abstract (#35061)

hardware: make set_dispaly_power not abstract

follow-up to https://github.com/commaai/openpilot/pull/35060#discussion_r2058829397
pull/35062/head
Cameron Clough 1 day ago committed by GitHub
parent 196848c023
commit 8088438bd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      system/hardware/base.py
  2. 3
      system/hardware/pc/hardware.py

@ -130,7 +130,6 @@ class HardwareBase(ABC):
def get_thermal_config(self):
return ThermalConfig()
@abstractmethod
def set_display_power(self, on: bool):
pass

@ -53,9 +53,6 @@ class Pc(HardwareBase):
def shutdown(self):
print("SHUTDOWN!")
def set_display_power(self, on):
pass
def set_screen_brightness(self, percentage):
pass

Loading…
Cancel
Save