diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-11-05 11:40:34 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-11-05 11:40:34 -0500 |
commit | 123908ac7aa3c3c6178a0c51b8f9e3bc17f7b74a (patch) | |
tree | 82c2b9a8f032a6e6cab09660ffdc20aaa7a7d896 /klippy/extras | |
parent | 821561708d0973ba2dbc93fabff381075c0b2aed (diff) | |
download | kutter-123908ac7aa3c3c6178a0c51b8f9e3bc17f7b74a.tar.gz kutter-123908ac7aa3c3c6178a0c51b8f9e3bc17f7b74a.tar.xz kutter-123908ac7aa3c3c6178a0c51b8f9e3bc17f7b74a.zip |
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras')
-rw-r--r-- | klippy/extras/neopixel.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |