summaryrefslogtreecommitdiff
path: root/decoders/adns5020/__init__.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2018-05-27 09:06:48 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-05-29 23:57:48 +0200
commitd11290fef0450c4f9b1c0f14d7c203de6ee02695 (patch)
treece206c773a54f9aa5807905aa91d8f38ea11c8c5 /decoders/adns5020/__init__.py
parent719bde9b1c078bfc61b800f6bddf43c5e3d4e0d6 (diff)
downloadlibsigrokdecode-d11290fef0450c4f9b1c0f14d7c203de6ee02695.tar.gz
libsigrokdecode-d11290fef0450c4f9b1c0f14d7c203de6ee02695.zip
counter: explicit option text to .wait() edge mapping
The previous implementation used the fact that libsigrok's internal API happens to use the first letter of the user visible English option text. Two locations mapped edge choices to API literals in different ways. Unify them, introduce an explicit option text to literal value mapping. (Many if not all decoder implementations do that. More adjustment to use common code could be beneficial.)
Diffstat (limited to 'decoders/adns5020/__init__.py')
0 files changed, 0 insertions, 0 deletions