From e540618c9d8d04ebb2e639ad1e650d689c89a818 Mon Sep 17 00:00:00 2001 From: Iztok Jeras Date: Fri, 13 Jul 2012 22:59:12 +0200 Subject: onewire: combined reset and presence detect events, avoid unneeded overdrive exit message --- decoders/onewire_network/onewire_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/onewire_network') diff --git a/decoders/onewire_network/onewire_network.py b/decoders/onewire_network/onewire_network.py index 5587f97..d2b86a0 100644 --- a/decoders/onewire_network/onewire_network.py +++ b/decoders/onewire_network/onewire_network.py @@ -77,7 +77,7 @@ class Decoder(srd.Decoder): [code, val] = data # State machine. - if (code == "RESET"): + if (code == "RESET/PRESENCE"): self.state = "COMMAND" self.search = "P" self.bit_cnt = 0 -- cgit v1.2.3-70-g09d2