]> sigrok.org Git - libsigrokdecode.git/commit
spiflash: Use SrdIntEnum for annotation classes.
authorUwe Hermann <redacted>
Wed, 1 Jan 2020 17:09:51 +0000 (18:09 +0100)
committerUwe Hermann <redacted>
Fri, 10 Jan 2020 19:50:15 +0000 (20:50 +0100)
commit44d058f3524e8c34bb72bd2f0c0c02740c190c7a
treee4c7673653ea6894c416280cd33e9885c61afdfc
parent927e2ba624b780e8b846ce3cc2b013afac6fa751
spiflash: Use SrdIntEnum for annotation classes.

Also, automate construction of the Ann SrdIntEnum.
This avoids having to remember to manually keep two lists in sync.
decoders/spiflash/lists.py
decoders/spiflash/pd.py