]> sigrok.org Git - libsigrokdecode.git/commitdiff
rgb_led: Fix annotation end sample numbers.
authorUwe Hermann <redacted>
Wed, 19 Feb 2014 14:08:34 +0000 (15:08 +0100)
committerUwe Hermann <redacted>
Wed, 19 Feb 2014 14:08:34 +0000 (15:08 +0100)
decoders/rgb_led/pd.py

index f3a6388874fede3257acc360e97937ed06a696b6..b8e6189f60b403519128485e7634f5cf63d0036b 100644 (file)
@@ -67,5 +67,6 @@ class Decoder(srd.Decoder):
         rgb_value |= int(green) << 8
         rgb_value |= int(blue)
 
+        self.cmd_es = es
         self.putx([0, ["#%.6x" % rgb_value]])
         self.mosi_bytes = []