summaryrefslogtreecommitdiff
path: root/decoders/onewire_network/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/onewire_network/pd.py')
-rw-r--r--decoders/onewire_network/pd.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/decoders/onewire_network/pd.py b/decoders/onewire_network/pd.py
index 23402a6..5c836c2 100644
--- a/decoders/onewire_network/pd.py
+++ b/decoders/onewire_network/pd.py
@@ -126,8 +126,6 @@ class Decoder(srd.Decoder):
if self.onewire_collect(8, val, ss, es) == 0:
return
self.putx([0, ['ROM error data: 0x%02x' % self.data]])
- else:
- raise Exception('Invalid state: %s' % self.state)
# Data collector.
def onewire_collect(self, length, val, ss, es):