]> sigrok.org Git - libsigrokdecode.git/commit
spi: Make CS# optional and use it if supplied.
authorUwe Hermann <redacted>
Thu, 12 Sep 2013 19:19:55 +0000 (21:19 +0200)
committerUwe Hermann <redacted>
Thu, 12 Sep 2013 19:26:13 +0000 (21:26 +0200)
commitefa641735217e5425f93e69cbaddf70d75c7e9e4
treeec528add0862bb515a6d8ebe3f070a330dbfcc94
parent191ec8c5b7b6bb6b348a2c43b851923181fd68d8
spi: Make CS# optional and use it if supplied.

The CS# pin is now optional, it can either be supplied to the PD or not.

If it _is_ supplied, reset the PD state every time it changes. This has
the effect that "incomplete" SPI frames and those where CS# is not
asserted are ignored and not decoded.

This fixes bug #152.
decoders/spi/pd.py