]> sigrok.org Git - libsigrokdecode.git/commitdiff
spi: Don't decode data lines if CS isn't asserted
authorAndreas Sandberg <redacted>
Fri, 13 Feb 2015 21:42:01 +0000 (21:42 +0000)
committerUwe Hermann <redacted>
Fri, 3 Apr 2015 20:49:39 +0000 (22:49 +0200)
Avoid decoding and outputting data from the SPI bus if the CS pin
hasn't been asserted. This avoids confusing both users and stacked
decoders which otherwise end up seeing traffic intended for other
chips (or just noise).

Note: The old behavior of decoding all traffic is still in place if
no CS pin has been wired up to the decoder.

This fixes bug #559.


No differences found