summaryrefslogtreecommitdiff
path: root/decoders/onewire_network
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-07-21 20:36:07 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-07-21 21:47:54 +0200
commit5d7c5bcca4f770280cd4b58a8ea383fe97cf4a32 (patch)
tree8148c6a03f0f6059d4a0b4bd622456c137ce1a8f /decoders/onewire_network
parent3f302d519e813af30a796a16f84e688550827ae0 (diff)
downloadlibsigrokdecode-5d7c5bcca4f770280cd4b58a8ea383fe97cf4a32.tar.gz
libsigrokdecode-5d7c5bcca4f770280cd4b58a8ea383fe97cf4a32.zip
srd: onewire_network: Fix typo, command is 0x69.
The 'Overdrive match ROM' command is 0x69, not 0x6d. Verified in various datasheets and the original 1-Wire/iButton spec.
Diffstat (limited to 'decoders/onewire_network')
-rw-r--r--decoders/onewire_network/onewire_network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/onewire_network/onewire_network.py b/decoders/onewire_network/onewire_network.py
index 982a64e..2dba54a 100644
--- 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' ],
- 0x6d: ['OVERDRIVE MATCH ROM' , 'GET ROM' ],
+ 0x69: ['OVERDRIVE MATCH ROM' , 'GET ROM' ],
}
class Decoder(srd.Decoder):