diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-12-22 18:33:58 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2017-12-22 18:57:14 +0100 |
commit | 57ba804a912c0753aefcaf8eee2f19ad7f5e86e5 (patch) | |
tree | 4c6e9f872d1aa9228f57bf713b7d06395e3c944b /decoders/max7219/pd.py | |
parent | 10aeb8ea8b183394cebc0033f048f49f4262b57d (diff) | |
download | libsigrokdecode-57ba804a912c0753aefcaf8eee2f19ad7f5e86e5.tar.gz libsigrokdecode-57ba804a912c0753aefcaf8eee2f19ad7f5e86e5.zip |
usb_power_delivery: enforce numerical order of RDO/PDO flag annotations
Annotations of the USB power delivery decoder contain multiple text
fragments that correspond to several flags in bit fields. The Python
runtime did not guarantee an order of emission and made the test suite
fail.
Sort the order in which RDO and PDO flags related text fragments get
constructed and concatenated. Print text for higher bit positions first
as this might feel more intuitive to users.
This fixes part of bug #1090.
Diffstat (limited to 'decoders/max7219/pd.py')
0 files changed, 0 insertions, 0 deletions