parent
27a9b6639e
commit
d025fce937
|
@ -300,6 +300,11 @@ SR_PRIV int cv_convert_trigger(const struct sr_dev_inst *sdi)
|
||||||
|| match->match == SR_TRIGGER_RISING)
|
|| match->match == SR_TRIGGER_RISING)
|
||||||
devc->trigger_pattern |= channel_bit;
|
devc->trigger_pattern |= channel_bit;
|
||||||
|
|
||||||
|
/* LA8 and LA16 support state triggering. */
|
||||||
|
if (match->match == SR_TRIGGER_ONE
|
||||||
|
|| match->match == SR_TRIGGER_ZERO)
|
||||||
|
devc->trigger_mask |= channel_bit;
|
||||||
|
|
||||||
/* LA16 (but not LA8) supports edge triggering. */
|
/* LA16 (but not LA8) supports edge triggering. */
|
||||||
if ((devc->prof->model == CHRONOVU_LA16)) {
|
if ((devc->prof->model == CHRONOVU_LA16)) {
|
||||||
if (match->match == SR_TRIGGER_RISING
|
if (match->match == SR_TRIGGER_RISING
|
||||||
|
|
Loading…
Reference in New Issue