aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/pca9632.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-04-18 09:04:44 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-04-18 09:34:25 -0400
commit53a7f1dd762330b7d36b24dbd8ac967d780ea13f (patch)
treebe445af727a713eff359da395f8609d6d4785b4b /klippy/extras/pca9632.py
parent630d3b3444ccc273965623c7a58215620da889b7 (diff)
downloadkutter-53a7f1dd762330b7d36b24dbd8ac967d780ea13f.tar.gz
kutter-53a7f1dd762330b7d36b24dbd8ac967d780ea13f.tar.xz
kutter-53a7f1dd762330b7d36b24dbd8ac967d780ea13f.zip
led: Remove has_white check from LEDHelper
There is no harm in checking for a white config setting. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/pca9632.py')
-rw-r--r--klippy/extras/pca9632.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/pca9632.py b/klippy/extras/pca9632.py
index ff6d029d..18908208 100644
--- a/klippy/extras/pca9632.py
+++ b/klippy/extras/pca9632.py
@@ -35,7 +35,7 @@ class PCA9632:
self.color_map = [color_order.index(c) for c in "RGBW"]
self.prev_regs = {}
pled = printer.load_object(config, "led")
- self.led_helper = pled.setup_helper(config, self.update_leds, 1, True)
+ self.led_helper = pled.setup_helper(config, self.update_leds, 1)
printer.register_event_handler("klippy:connect", self.handle_connect)
def reg_write(self, reg, val, minclock=0):
if self.prev_regs.get(reg) == val: