summaryrefslogtreecommitdiff
path: root/decoders/rgb_led
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-02-19 15:08:34 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-02-19 15:08:34 +0100
commit83d792a4c201c081070f2fdf638e485c5b8a52a0 (patch)
treee1eaa74589c8480456ebee49353e8ff621d025b8 /decoders/rgb_led
parent8967e839a3df6aa8766f57e521c81edd3a12be4d (diff)
downloadlibsigrokdecode-83d792a4c201c081070f2fdf638e485c5b8a52a0.tar.gz
libsigrokdecode-83d792a4c201c081070f2fdf638e485c5b8a52a0.zip
rgb_led: Fix annotation end sample numbers.
Diffstat (limited to 'decoders/rgb_led')
-rw-r--r--decoders/rgb_led/pd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoders/rgb_led/pd.py b/decoders/rgb_led/pd.py
index f3a6388..b8e6189 100644
--- a/decoders/rgb_led/pd.py
+++ b/decoders/rgb_led/pd.py
@@ -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 = []