summaryrefslogtreecommitdiff
path: root/decoders/guess_bitrate/__init__.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2023-07-17 18:23:03 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2023-07-18 21:09:40 +0200
commit01416b9810ceb759e3088bad174d89621704a210 (patch)
tree908f50c6765c7d6bd21f6b7f3ec3092bd7d13680 /decoders/guess_bitrate/__init__.py
parent647aba6af7745c14961674c5feebf83fd18303a3 (diff)
downloadlibsigrokdecode-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/guess_bitrate/__init__.py')
0 files changed, 0 insertions, 0 deletions