From 5b0b88ced37e8fbe3031867255412f449245ca26 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 19 May 2016 18:38:05 +0200 Subject: Consistency renames of {ss,es}_ variables. --- decoders/wiegand/pd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'decoders/wiegand') diff --git a/decoders/wiegand/pd.py b/decoders/wiegand/pd.py index 2352fbc..a42c9d2 100644 --- a/decoders/wiegand/pd.py +++ b/decoders/wiegand/pd.py @@ -55,7 +55,7 @@ class Decoder(srd.Decoder): self._d1_prev = None self._state = None - self._ss_state = None + self.ss_state = None self.ss_bit = None self.es_bit = None @@ -98,8 +98,8 @@ class Decoder(srd.Decoder): elif self._state == 'invalid': ann = [1, [self._state]] if ann: - self.put(self._ss_state, self.samplenum, self.out_ann, ann) - self._ss_state = self.samplenum + self.put(self.ss_state, self.samplenum, self.out_ann, ann) + self.ss_state = self.samplenum self._state = state self._bits = [] -- cgit v1.2.3-70-g09d2