]> sigrok.org Git - libsigrokdecode.git/commit
pwm: Eliminate more decoder "state"
authorGerhard Sittig <redacted>
Sun, 18 Jun 2017 11:38:15 +0000 (13:38 +0200)
committerGerhard Sittig <redacted>
Tue, 20 Jun 2017 21:10:03 +0000 (23:10 +0200)
commiteff37627aa217defa784337c4f4aa309477311fc
tree71a86cd441640c17f30ae3c117a96bdf45ea425d
parent0172a1661a3addc958269d4251246d2d03cf6368
pwm: Eliminate more decoder "state"

Move more items from the Python object's members to local variables of the
decode() method, as they are used there exclusively.

Mark a spot where the binary output references suspicious "sample numbers".
decoders/pwm/pd.py