]> sigrok.org Git - libsigrokdecode.git/commit - decoders/spi/pd.py
spi: Missing samplerate spec is not fatal
authorGerhard Sittig <redacted>
Tue, 6 Jun 2017 21:12:04 +0000 (23:12 +0200)
committerGerhard Sittig <redacted>
Tue, 6 Jun 2017 21:12:04 +0000 (23:12 +0200)
commitfa7fdc54764d574446002c12d328b6f8bbb7e803
tree2ccc6e55d4440e3612a95244a9ccd91ebd01a140
parentde15aa2a9bbecbd495279ae88e57623b138686da
spi: Missing samplerate spec is not fatal

Check for the availability of a samplerate specification, but don't
abort in its absence. Lack of the samplerate only prevents the emission
of throughput annotations, but still allows decoding the clocked signal.
decoders/spi/pd.py