diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2013-10-09 00:30:35 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2013-10-09 00:36:58 +0200 |
commit | 015dc33a9fe13c529bd84fcfdca39d3fa2f7c293 (patch) | |
tree | ff5158cc24856145dd35dafd5800e11ad76611dc /decoders/onewire_link | |
parent | 6f50757335d1936558779fd8fe8100a8257e7a71 (diff) | |
download | libsigrokdecode-015dc33a9fe13c529bd84fcfdca39d3fa2f7c293.tar.gz libsigrokdecode-015dc33a9fe13c529bd84fcfdca39d3fa2f7c293.zip |
onewire_link: Fix typos.
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 e3e963b..76e9b24 100644 --- a/decoders/onewire_link/pd.py +++ b/decoders/onewire_link/pd.py @@ -222,7 +222,7 @@ class Decoder(srd.Decoder): # Check if this was a reset cycle. t = self.samplenum - self.fall if t > self.cnt_normal_reset: - # Save the sample number for the falling edge. + # Save the sample number for the rising edge. self.rise = self.samplenum self.putfr([2, ['Reset']]) self.state = 'WAIT FOR PRESENCE DETECT' @@ -234,7 +234,7 @@ class Decoder(srd.Decoder): self.bit_cnt = 0 self.command = 0 elif (t > self.cnt_overdrive_reset) and self.overdrive: - # Save the sample number for the falling edge. + # Save the sample number for the rising edge. self.rise = self.samplenum self.putfr([2, ['Reset']]) self.state = "WAIT FOR PRESENCE DETECT" |