From 123908ac7aa3c3c6178a0c51b8f9e3bc17f7b74a Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 5 Nov 2020 11:40:34 -0500 Subject: neopixel: Fix neopixel_result message so that it contains an oid In order for commit 82156170 to work properly, the neopixel_result message must contain the oid. Signed-off-by: Kevin O'Connor --- klippy/extras/neopixel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/neopixel.py') diff --git a/klippy/extras/neopixel.py b/klippy/extras/neopixel.py index b8a94599..1afb4664 100644 --- a/klippy/extras/neopixel.py +++ b/klippy/extras/neopixel.py @@ -56,7 +56,7 @@ class PrinterNeoPixel: self.neopixel_update_cmd = self.mcu.lookup_command( "neopixel_update oid=%c pos=%hu data=%*s", cq=cmd_queue) self.neopixel_send_cmd = self.mcu.lookup_query_command( - "neopixel_send oid=%c", "neopixel_result success=%c", + "neopixel_send oid=%c", "neopixel_result oid=%c success=%c", oid=self.oid, cq=cmd_queue) def update_color_data(self, red, green, blue, white, index=None): red = int(red * 255. + .5) -- cgit v1.2.3-70-g09d2