diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-07-08 21:36:53 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-07-09 18:00:22 +0200 |
commit | 21b39043472eeeb2e0155eafc73247f5010af714 (patch) | |
tree | ad799e5b6b18fbfa40b124060606141bed4b046b /decoders/onewire_link | |
parent | 21cda9512f29947617da45822ab524b1f76f56c1 (diff) | |
download | libsigrokdecode-21b39043472eeeb2e0155eafc73247f5010af714.tar.gz libsigrokdecode-21b39043472eeeb2e0155eafc73247f5010af714.zip |
Various PDs: Minor consistency fixes.
(Consistently use single-quotes for all Python strings everywhere)
Diffstat (limited to 'decoders/onewire_link')
-rw-r--r-- | decoders/onewire_link/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |