From: Uwe Hermann Date: Sat, 21 Jul 2012 18:36:07 +0000 (+0200) Subject: srd: onewire_network: Fix typo, command is 0x69. X-Git-Tag: libsigrokdecode-0.1.1~41 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5d7c5bcca4f770280cd4b58a8ea383fe97cf4a32;p=libsigrokdecode.git 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. --- 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):