]> sigrok.org Git - libsigrok.git/commit
sr: demodevice: Reset sample limit when setting time limit and vice versa
authorLars-Peter Clausen <redacted>
Tue, 3 Jul 2012 21:59:12 +0000 (23:59 +0200)
committerBert Vermeulen <redacted>
Tue, 3 Jul 2012 23:11:50 +0000 (01:11 +0200)
commit8489264f1e3ef07ba8f1143ed62fa88d90980f94
treeb49b7aa5964a26a6b083bbba9f66d086403b6d93
parent25f5d66a7752379abe454da0705df4ed15ce6426
sr: demodevice: Reset sample limit when setting time limit and vice versa

Only one limit should be active at a time. Make sure that the sample limit is
disabled when a time limit is set and vice versa.

Signed-off-by: Lars-Peter Clausen <redacted>
hardware/demo/demo.c