summaryrefslogtreecommitdiff
path: root/decoders/onewire/onewire.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-05-23 01:01:03 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-05-23 01:01:03 +0200
commit4a583ba42431fa2031a6bf39b249e4902973833d (patch)
tree270a99d9fd25954e8cb46737228214e4d63114d3 /decoders/onewire/onewire.py
parent0b8ea2bffbc907048c9a5ed5b563abc29f936f5a (diff)
downloadlibsigrokdecode-4a583ba42431fa2031a6bf39b249e4902973833d.tar.gz
libsigrokdecode-4a583ba42431fa2031a6bf39b249e4902973833d.zip
srd: onewire: Get optional 'pwr' probe value, too.
Diffstat (limited to 'decoders/onewire/onewire.py')
-rw-r--r--decoders/onewire/onewire.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/onewire/onewire.py b/decoders/onewire/onewire.py
index 92cc7dc..22ad7ee 100644
--- a/decoders/onewire/onewire.py
+++ b/decoders/onewire/onewire.py
@@ -94,7 +94,7 @@ class Decoder(srd.Decoder):
pass
def decode(self, ss, es, data):
- for (self.samplenum, owr) in data:
+ for (self.samplenum, (owr, pwr)) in data:
# Data link layer