]> sigrok.org Git - libsigrokdecode.git/commit
uart: rephrase data bits to data value conversion
authorGerhard Sittig <redacted>
Sun, 1 Jul 2018 13:30:30 +0000 (15:30 +0200)
committerUwe Hermann <redacted>
Sun, 15 Jul 2018 18:16:39 +0000 (20:16 +0200)
commit5166b0317835b35d810506f36e1a957e58109515
tree41f0af3912336890bc655eb15ad527cd850d8f56
parentc7172e5fa77d5cd56f206c4991762ce33ef78eba
uart: rephrase data bits to data value conversion

Use the already available .databits[] information which holds sample data
and bit time edge positions, and the common bitpack() routine. This shall
increase readability of the bits to value conversion.

[ best viewed with more context, like 'git diff -U5' ]
decoders/uart/pd.py