]> sigrok.org Git - libsigrokdecode.git/commit
stepper_motor: make samplerate meta data optional
authorGerhard Sittig <redacted>
Sun, 17 Dec 2017 22:59:16 +0000 (23:59 +0100)
committerUwe Hermann <redacted>
Tue, 13 Feb 2018 17:50:54 +0000 (18:50 +0100)
commit4d5684067445f49490c338838961a3e7fc6f7396
tree53db9773ba43986406367b83eade9572bae17529
parent72cced49a72d334640af832344ea917da46b8548
stepper_motor: make samplerate meta data optional

Only emit the speed annotations when a sample rate was specified. Cope
with the absence of a sample rate for the input stream. Decoding is
still possible, it's just that no timing information is available.
decoders/stepper_motor/pd.py