libsigrok/hardware/demo
Alexandru Gagniuc c216d62307 demo: Properly stop acquisition after reaching our sample quota
The demo driver was using sr_session_source_add_channel() to add
a poll source, but was relying on sr_session_run_poll() to call
sr_session_source_remove(). This, coupled with the design of the
driver caused errors once the samples were collected.

The error stream was most likely related to failing to properly close
one of the channels.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-01 22:00:16 +01:00
..
Makefile.am sr/srd: Remove/fix non-applicable autotools stuff. 2011-12-30 11:14:24 +01:00
demo.c demo: Properly stop acquisition after reaching our sample quota 2012-12-01 22:00:16 +01:00