]> sigrok.org Git - libsigrokdecode.git/commitdiff
srd: onewire_network: Fix typo, command is 0x69.
authorUwe Hermann <redacted>
Sat, 21 Jul 2012 18:36:07 +0000 (20:36 +0200)
committerUwe Hermann <redacted>
Sat, 21 Jul 2012 19:47:54 +0000 (21:47 +0200)
The 'Overdrive match ROM' command is 0x69, not 0x6d. Verified in various
datasheets and the original 1-Wire/iButton spec.

decoders/onewire_network/onewire_network.py

index 982a64ef28053e58d2c8cc2dd10b9bafe250d676..2dba54ac90aadaa6a8a2a0e349a204b20021204d 100644 (file)
@@ -31,7 +31,7 @@ command = {
     0xf0: ['SEARCH ROM'            , 'SEARCH ROM'],
     0xec: ['CONDITIONAL SEARCH ROM', 'SEARCH ROM'],
     0x3c: ['OVERDRIVE SKIP ROM'    , 'TRANSPORT' ],
     0xf0: ['SEARCH ROM'            , 'SEARCH ROM'],
     0xec: ['CONDITIONAL SEARCH ROM', 'SEARCH ROM'],
     0x3c: ['OVERDRIVE SKIP ROM'    , 'TRANSPORT' ],
-    0x6d: ['OVERDRIVE MATCH ROM'   , 'GET ROM'   ],
+    0x69: ['OVERDRIVE MATCH ROM'   , 'GET ROM'   ],
 }
 
 class Decoder(srd.Decoder):
 }
 
 class Decoder(srd.Decoder):