diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-14 17:18:30 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-07-18 21:09:40 +0200 |
commit | 14ba515be7d292a7c4e0f623d83b6631203cf1e8 (patch) | |
tree | 3e86331219f3c232bc8179a30e9816023ddca39f /decoders/timing/pd.py | |
parent | d7da8b9ea27ba271857d265b8ee66b40ae7079fc (diff) | |
download | libsigrokdecode-14ba515be7d292a7c4e0f623d83b6631203cf1e8.tar.gz libsigrokdecode-14ba515be7d292a7c4e0f623d83b6631203cf1e8.zip |
i2c: rename variables and adjust data types for readability
Use longer names for variables and adjust their data types to improve
readability of the "is write?", "is repeated start?" conditions. Use a
boolean when the condition is known, and preset to None when the state
is yet uncertain. Rename .bits[] to .data_bits[] to reflect that they
exclusively hold the byte's bits and not the ACK/NAK bit.
Diffstat (limited to 'decoders/timing/pd.py')
0 files changed, 0 insertions, 0 deletions