aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/neopixel.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-12-01 11:09:00 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-12-01 11:36:37 -0500
commitf3fd814ce072dbd1ea4a4dbbce4d10302f65a13f (patch)
treec00be61a944ae21f651b382c1af4761c9f22678b /klippy/extras/neopixel.py
parent1af28d8a79aef254af726f0a2aae6348a1f44534 (diff)
downloadkutter-f3fd814ce072dbd1ea4a4dbbce4d10302f65a13f.tar.gz
kutter-f3fd814ce072dbd1ea4a4dbbce4d10302f65a13f.tar.xz
kutter-f3fd814ce072dbd1ea4a4dbbce4d10302f65a13f.zip
neopixel: Don't wait for responses when in debug mode.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/neopixel.py')
-rw-r--r--klippy/extras/neopixel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/extras/neopixel.py b/klippy/extras/neopixel.py
index ccddcd22..e7785d97 100644
--- a/klippy/extras/neopixel.py
+++ b/klippy/extras/neopixel.py
@@ -101,6 +101,8 @@ class PrinterNeoPixel:
if print_time is not None:
minclock = self.mcu.print_time_to_clock(print_time)
scmd = self.neopixel_send_cmd.send
+ if self.printer.get_start_args().get('debugoutput') is not None:
+ return
for i in range(8):
params = scmd([self.oid], minclock=minclock,
reqclock=BACKGROUND_PRIORITY_CLOCK)