diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-17 18:23:03 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-18 21:09:40 +0200 |
commit | 01416b9810ceb759e3088bad174d89621704a210 (patch) | |
tree | 908f50c6765c7d6bd21f6b7f3ec3092bd7d13680 /decoders/ltc26x7 | |
parent | 647aba6af7745c14961674c5feebf83fd18303a3 (diff) | |
download | libsigrokdecode-01416b9810ceb759e3088bad174d89621704a210.tar.gz libsigrokdecode-01416b9810ceb759e3088bad174d89621704a210.zip |
i2c: unify emission of annotations, always use proto{} table
Slightly unobfuscate how the I2C decoder invokes put methods. Present
the annotation class and the list of texts for different zoom levels
for readability. Also keep the data value presentation in that table
so that it holds all texts which users will see during decoder use.
Eliminate how the data bits used to bypass that table in the past.
This commit does not address the unfortunate self.ss/es coupling of
decoding code paths and annotation emitting helpers, which complicates
review of the decoder's implemented logic.
Diffstat (limited to 'decoders/ltc26x7')
0 files changed, 0 insertions, 0 deletions