diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-05-23 01:01:03 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-05-23 01:01:03 +0200 |
commit | 4a583ba42431fa2031a6bf39b249e4902973833d (patch) | |
tree | 270a99d9fd25954e8cb46737228214e4d63114d3 | |
parent | 0b8ea2bffbc907048c9a5ed5b563abc29f936f5a (diff) | |
download | libsigrokdecode-4a583ba42431fa2031a6bf39b249e4902973833d.tar.gz libsigrokdecode-4a583ba42431fa2031a6bf39b249e4902973833d.zip |
srd: onewire: Get optional 'pwr' probe value, too.
-rw-r--r-- | decoders/onewire/onewire.py | 2 |
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 |