]> sigrok.org Git - libsigrokdecode.git/commit
counter: use local variables instead of instance variables
authorGerhard Sittig <redacted>
Sun, 27 May 2018 07:35:25 +0000 (09:35 +0200)
committerUwe Hermann <redacted>
Tue, 29 May 2018 21:57:48 +0000 (23:57 +0200)
commit821a21418cb64f77f444c440752ac09a8bc97fb6
treeb7687b28320acf81a0c1a8fcb64ca870d9c87d5d
parentdeabbb70a8c29116a116c0833b2da39def0b807b
counter: use local variables instead of instance variables

Since values get accessed within the .decode() method exclusively, we need
not store data in instance variables of the decoder object. Use another
variable for the "reset edge" option as well for consistency.
decoders/counter/pd.py