Update brightness more frequently

This commit is contained in:
Joan
2026-01-04 19:18:36 +01:00
parent cf7c36ac35
commit be20740f98

View File

@@ -544,10 +544,12 @@ class Matrix64Display(SampleBase):
if current_time - self.last_update >= 60:
self.update_data()
self.update_brightness()
self.update_hdd_temps()
self.last_update = current_time
if current_time - self.last_update >= 15:
self.update_brightness()
if self.auto_cycle and (current_time - self.last_view_change >= self.view_cycle_interval):
self.current_view = (self.current_view + 1) % NUM_VIEWS
self.last_view_change = current_time