dmx_queue: fix calculation error

This commit is contained in:
Franzi 2023-08-16 22:41:34 +02:00
parent 4d36ee69d8
commit d2bc9e26c0
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -117,7 +117,7 @@ class DMXQueue:
self._update_all(
int(
self.config.rainbow.brightness
+ ((diff / len(forward + reverse)) * idx)
+ ((diff / len(forward)) * idx)
),
0,
50,