summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-04-15 20:13:32 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-04-15 20:13:58 +0200
commit796ed325e082768db2d78caa4b465b8401889dad (patch)
tree03bf16bb83509f7d66f447c49b962bb1ed9764e6
parentebe297ad9703b4d8212a0799ad5ef06aa59ac6b7 (diff)
downloadlibsigrokdecode-796ed325e082768db2d78caa4b465b8401889dad.tar.gz
libsigrokdecode-796ed325e082768db2d78caa4b465b8401889dad.zip
sdcard_spi: Fix incorrect annotation row indices.
This fixes the remaining parts of bug #1365.
-rw-r--r--decoders/sdcard_spi/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py
index 94055ce..62661e6 100644
--- a/decoders/sdcard_spi/pd.py
+++ b/decoders/sdcard_spi/pd.py
@@ -42,8 +42,8 @@ class Decoder(srd.Decoder):
('bit-warnings', 'Bit warnings'),
)
annotation_rows = (
- ('bits', 'Bits', (134, 135)),
- ('cmd-reply', 'Commands/replies', tuple(range(134))),
+ ('bits', 'Bits', (133, 134)),
+ ('cmd-reply', 'Commands/replies', tuple(range(133))),
)
def __init__(self):