diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-02-10 19:04:35 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-02-11 23:38:24 +0100 |
commit | 16282c4796ec9af0809f69300e0b50f3725fe348 (patch) | |
tree | 5cac956184fc7e98edb9b77c73ab1f11785ab452 /decoder/test/stepper_motor/test.conf | |
parent | 16bd98d256184807a4aa77e428adcb4cefbaf133 (diff) | |
download | sigrok-test-16282c4796ec9af0809f69300e0b50f3725fe348.tar.gz sigrok-test-16282c4796ec9af0809f69300e0b50f3725fe348.zip |
stepper_motor: add test for input stream without sample rate
The stepper motor decoder can still determine the steps' directions
and count. Missing input sample rates just prevent the decoder from
outputting speed annotations. All other decoder output is identical.
Diffstat (limited to 'decoder/test/stepper_motor/test.conf')
-rw-r--r-- | decoder/test/stepper_motor/test.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/decoder/test/stepper_motor/test.conf b/decoder/test/stepper_motor/test.conf index a036851..b5712b1 100644 --- a/decoder/test/stepper_motor/test.conf +++ b/decoder/test/stepper_motor/test.conf @@ -7,3 +7,8 @@ test smoothieware_snippet_steps protocol-decoder stepper_motor channel step=5 channel dir=6 option unit=steps input stepper_motor/smoothieware/smoothieware_snippet.sr output stepper_motor annotation match smoothieware_snippet_steps.output + +test smoothieware_snippet_steps_no_samplerate + protocol-decoder stepper_motor channel step=5 channel dir=6 option unit=steps + input stepper_motor/smoothieware/smoothieware_snippet_no_samplerate.sr + output stepper_motor annotation match smoothieware_snippet_steps_no_samplerate.output |