From 21b39043472eeeb2e0155eafc73247f5010af714 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 8 Jul 2014 21:36:53 +0200 Subject: Various PDs: Minor consistency fixes. (Consistently use single-quotes for all Python strings everywhere) --- decoders/onewire_link/pd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoders/onewire_link') diff --git a/decoders/onewire_link/pd.py b/decoders/onewire_link/pd.py index 93cd51a..c8d6cd7 100644 --- a/decoders/onewire_link/pd.py +++ b/decoders/onewire_link/pd.py @@ -254,10 +254,10 @@ class Decoder(srd.Decoder): # Save the sample number for the rising edge. self.rise = self.samplenum self.putfr([2, ['Reset', 'Rst', 'R']]) - self.state = "WAIT FOR PRESENCE DETECT" + self.state = 'WAIT FOR PRESENCE DETECT' # Otherwise this is assumed to be a data bit. else: - self.state = "WAIT FOR FALLING EDGE" + self.state = 'WAIT FOR FALLING EDGE' elif self.state == 'WAIT FOR PRESENCE DETECT': # Sample presence status. t = self.samplenum - self.rise -- cgit v1.2.3-70-g09d2