diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-05-27 09:06:48 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-29 23:57:48 +0200 |
commit | d11290fef0450c4f9b1c0f14d7c203de6ee02695 (patch) | |
tree | ce206c773a54f9aa5807905aa91d8f38ea11c8c5 /decoders/jitter/__init__.py | |
parent | 719bde9b1c078bfc61b800f6bddf43c5e3d4e0d6 (diff) | |
download | libsigrokdecode-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/jitter/__init__.py')
0 files changed, 0 insertions, 0 deletions