]> sigrok.org Git - libsigrok.git/commit
Fix initial sample value for demo driver
authorSven Schnelle <redacted>
Tue, 14 Feb 2017 22:30:13 +0000 (23:30 +0100)
committerSven Schnelle <redacted>
Tue, 14 Feb 2017 22:32:45 +0000 (23:32 +0100)
commit471ac344a5885c73f58cbcd0d0c87f416926afc2
tree85d8960a28fe0ab19a3df7a85825458d74fc15cb
parentb020b81b24bf6987cccffc3ea84049e66b9ccdb3
Fix initial sample value for demo driver

devc->step is not reset on acquistion start, so acquisition
starts with a different value every time. Thats annoying when
using the demo driver to debug sigrok, so lets make sure that
it's reset to 0.

Signed-off-by: Sven Schnelle <redacted>
src/hardware/demo/api.c