]> sigrok.org Git - libsigrokdecode.git/commit - decoders/uart/pd.py
uart: Use human-readable names for annotation classes.
authorUwe Hermann <redacted>
Mon, 30 Dec 2019 11:20:45 +0000 (12:20 +0100)
committerUwe Hermann <redacted>
Mon, 30 Dec 2019 11:35:41 +0000 (12:35 +0100)
commitc69e72bc8d3524140959157fb605b7dd53b40af4
tree1e3cad1ccbe169e64c2eefaceec59b845fc5a04d
parent3d2d91e0b30e2e421bf693f7f9f8aad0634084b3
uart: Use human-readable names for annotation classes.

Using human-readable names for annotation classes (instead of numeric
indices) improves readability and maintainability of the decoder, and can
also prevent bugs due to incorrect indices.
decoders/uart/pd.py