Update brightness more frequently
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user