From 16282c4796ec9af0809f69300e0b50f3725fe348 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sat, 10 Feb 2018 19:04:35 +0100 Subject: 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. --- decoder/test/stepper_motor/test.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'decoder/test/stepper_motor/test.conf') 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 -- cgit v1.2.3-54-g00ecf