]> sigrok.org Git - libsigrokdecode.git/commit
counter: use symbolic names for input pins, wait conditions, annotation rows
authorGerhard Sittig <redacted>
Sun, 27 May 2018 07:18:09 +0000 (09:18 +0200)
committerUwe Hermann <redacted>
Tue, 29 May 2018 21:57:48 +0000 (23:57 +0200)
commitf2120b9ef962c3b0054705393767efd4fb08e06c
tree9716f893cc3dc8b9f16aa262defb84961b256941
parentd11290fef0450c4f9b1c0f14d7c203de6ee02695
counter: use symbolic names for input pins, wait conditions, annotation rows

Replace magic numbers by symbolic references to (fixed and optional)
decoder input signals, .wait() conditions, as well as annotation rows.

Move some empty lines, to better reflect which code lines form groups of
similar activity ("blocks" that logically belong together).
decoders/counter/pd.py