summaryrefslogtreecommitdiff
path: root/decoders/am230x/__init__.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-07-18 18:40:50 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-18 20:36:15 +0200
commitb3fafeb4e192a1496fb6a36460ac940992d618a0 (patch)
treea6d63f9c4a749ba17b27181b5c1d7c9fcde63966 /decoders/am230x/__init__.py
parent4afcb4d0489705a3ca5f2590bd4645e51d5fb611 (diff)
downloadlibsigrokdecode-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/am230x/__init__.py')
0 files changed, 0 insertions, 0 deletions