From 4a583ba42431fa2031a6bf39b249e4902973833d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 23 May 2012 01:01:03 +0200 Subject: srd: onewire: Get optional 'pwr' probe value, too. --- decoders/onewire/onewire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/onewire/onewire.py') 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 -- cgit v1.2.3-70-g09d2