diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-18 18:40:50 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-18 20:36:15 +0200 |
commit | b3fafeb4e192a1496fb6a36460ac940992d618a0 (patch) | |
tree | a6d63f9c4a749ba17b27181b5c1d7c9fcde63966 /decoders/lin/__init__.py | |
parent | 4afcb4d0489705a3ca5f2590bd4645e51d5fb611 (diff) | |
download | libsigrokdecode-b3fafeb4e192a1496fb6a36460ac940992d618a0.tar.gz libsigrokdecode-b3fafeb4e192a1496fb6a36460ac940992d618a0.zip |
caliper: slight refactoring of common pieces
Merge .reset_data() into .reset() since no other location called it.
Move self.options[] lookup out of the loop, drop state from self when
it's strictly local to .decode(). Use a common annotation emission
routine, and vertically align text variants for zoom levels. This
further reduces the lengths of a few text lines.
Diffstat (limited to 'decoders/lin/__init__.py')
0 files changed, 0 insertions, 0 deletions