levels reworked

comp generator function added to util.

patch  bump
This commit is contained in:
onyx-and-iris
2022-07-09 12:26:53 +01:00
parent 845ef2441e
commit a1d6cf1042
4 changed files with 23 additions and 15 deletions

View File

@@ -71,7 +71,6 @@ class BusLevel(IRemote):
def getter(self):
"""Returns a tuple of level values for the channel."""
range_ = self.level_map[self.index]
return tuple(
round(-i * 0.01, 1)
for i in self._remote.cache["bus_level"][self.range[0] : self.range[-1]]