def _background():
"""Main thread function to loop through all displays and update them"""
for display in displays:
- display._background() # pylint: disable=protected-access
+ display.background()
def release_displays() -> None:
initialization so the display is active as long as possible.
"""
for display in displays:
- display._release() # pylint: disable=protected-access
+ display.release()
displays.clear()
for display_bus in display_buses:
- display_bus._release() # pylint: disable=protected-access
+ display_bus.deinit()
display_buses.clear()