summaryrefslogtreecommitdiff
path: root/decoders/x2444m/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/x2444m/pd.py')
-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):