]> sigrok.org Git - libsigrokdecode.git/commitdiff
microwire: Use namedtuple for the Python output.
authorUwe Hermann <redacted>
Fri, 5 May 2017 18:18:54 +0000 (20:18 +0200)
committerUwe Hermann <redacted>
Fri, 5 May 2017 18:18:19 +0000 (20:18 +0200)
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.


No differences found