]> sigrok.org Git - libsigrokdecode.git/commit - decoders/sle44xx/pd.py
sle44xx: use symbolic identifiers for annotation classes
authorGerhard Sittig <redacted>
Mon, 27 Jul 2020 18:20:52 +0000 (20:20 +0200)
committerGerhard Sittig <redacted>
Sun, 30 Aug 2020 05:23:58 +0000 (07:23 +0200)
commit52f08e6d879d8f82e01eb581646a5c929f21d6b8
treefcd44bfe5bb26ce16e435f3f9baf3008a87e88cc
parent5c47b179b3e1e90b79478a9feca18990c481d014
sle44xx: use symbolic identifiers for annotation classes

Eliminate magic numbers for annotation classes, prefer symbolic names
instead to improve readability. Put the annotation classes in an order
which matches the annotation rows' order. Reduce indentation in the
'proto' table while we are here (yet keep the vertical alignment).
decoders/sle44xx/pd.py