From: Uwe Hermann Date: Tue, 22 May 2012 23:01:03 +0000 (+0200) Subject: srd: onewire: Get optional 'pwr' probe value, too. X-Git-Tag: libsigrokdecode-0.1.1~106 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4a583ba42431fa2031a6bf39b249e4902973833d;p=libsigrokdecode.git srd: onewire: Get optional 'pwr' probe value, too. --- 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