From 5d7c5bcca4f770280cd4b58a8ea383fe97cf4a32 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 21 Jul 2012 20:36:07 +0200 Subject: [PATCH] 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. --- decoders/onewire_network/onewire_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.30.2