diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2017-05-05 20:18:54 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2017-05-05 20:18:19 +0200 |
commit | 15c107c28d4715d36787fb1e6dc6b21ec7b5b5b9 (patch) | |
tree | f9f92ae5b4139a3f0a00098dd62385802f0e5015 /decoders/rgb_led_spi | |
parent | fe9e9cebf035708240350b4fe80a676112130074 (diff) | |
download | libsigrokdecode-15c107c28d4715d36787fb1e6dc6b21ec7b5b5b9.tar.gz libsigrokdecode-15c107c28d4715d36787fb1e6dc6b21ec7b5b5b9.zip |
microwire: Use namedtuple for the Python output.
This has two advantages:
- The Python output is always deterministic, which was not the case for
the dict-based version since dict items have no guaranteed order in
Python. This caused issues with the sigrok-test use-case.
- The code is slightly more readable.
Diffstat (limited to 'decoders/rgb_led_spi')
0 files changed, 0 insertions, 0 deletions