projects
/
libsigrokdecode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f302d5
)
srd: onewire_network: Fix typo, command is 0x69.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 21 Jul 2012 18:36:07 +0000
(20:36 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
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
patch
|
blob
|
history
diff --git
a/decoders/onewire_network/onewire_network.py
b/decoders/onewire_network/onewire_network.py
index 982a64ef28053e58d2c8cc2dd10b9bafe250d676..2dba54ac90aadaa6a8a2a0e349a204b20021204d 100644
(file)
--- a/
decoders/onewire_network/onewire_network.py
+++ b/
decoders/onewire_network/onewire_network.py
@@
-31,7
+31,7
@@
command = {
0xf0: ['SEARCH ROM' , 'SEARCH ROM'],
0xec: ['CONDITIONAL SEARCH ROM', 'SEARCH ROM'],
0x3c: ['OVERDRIVE SKIP ROM' , 'TRANSPORT' ],
- 0x6
d
: ['OVERDRIVE MATCH ROM' , 'GET ROM' ],
+ 0x6
9
: ['OVERDRIVE MATCH ROM' , 'GET ROM' ],
}
class Decoder(srd.Decoder):