From d2bc9e26c0286b7b9afbbc1812666b6f396d49aa Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 16 Aug 2023 22:41:34 +0200 Subject: [PATCH] dmx_queue: fix calculation error --- dmx_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmx_queue.py b/dmx_queue.py index 119b277..fb61c57 100644 --- a/dmx_queue.py +++ b/dmx_queue.py @@ -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,