summaryrefslogtreecommitdiff
path: root/decoders/x2444m
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-12-30 16:55:30 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-12-31 17:40:16 +0100
commita0cbf8298d761a3615fe3c9c444b7517b437920f (patch)
tree1910588b227a492cd674826f0c9280c40460e464 /decoders/x2444m
parent1734f4c263201ae4b3aeab6b9ffc7f0eb23fdffd (diff)
downloadlibsigrokdecode-a0cbf8298d761a3615fe3c9c444b7517b437920f.tar.gz
libsigrokdecode-a0cbf8298d761a3615fe3c9c444b7517b437920f.zip
x2444m: Eliminate duplicate annotation class ID.
Diffstat (limited to 'decoders/x2444m')
-rw-r--r--decoders/x2444m/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/x2444m/pd.py b/decoders/x2444m/pd.py
index 290cc36..57f1225 100644
--- a/decoders/x2444m/pd.py
+++ b/decoders/x2444m/pd.py
@@ -28,7 +28,8 @@ registers = {
0x84: ['WREN', 4, lambda _: ''],
0x85: ['RCL', 5, lambda _: ''],
0x86: ['READ', 6, lambda v: '0x%x' % v],
- 0x87: ['READ', 7, lambda v: '0x%x' % v],
+ 0x87: ['READ', 6, lambda v: '0x%x' % v],
+ # 0x86/0x87 are both valid READ commands (bit 0 is "don't care").
}
class Decoder(srd.Decoder):
@@ -49,7 +50,6 @@ class Decoder(srd.Decoder):
('wren', 'Write enable'),
('rcl', 'Recall EEPROM data into RAM'),
('read', 'Data read from RAM'),
- ('read', 'Data read from RAM'),
)
def __init__(self):