zeroplus: Add a missing break statement.
This fixes a bug when trying to trigger on a channel being 0/low.
This commit is contained in:
parent
2cca921d91
commit
72d69b7cd1
|
@ -514,6 +514,7 @@ SR_PRIV int analyzer_add_triggers(const struct sr_dev_inst *sdi)
|
||||||
switch (match->match) {
|
switch (match->match) {
|
||||||
case SR_TRIGGER_ZERO:
|
case SR_TRIGGER_ZERO:
|
||||||
g_trigger_status[channel / 4] |= 2 << (channel % 4 * 2);
|
g_trigger_status[channel / 4] |= 2 << (channel % 4 * 2);
|
||||||
|
break;
|
||||||
case SR_TRIGGER_ONE:
|
case SR_TRIGGER_ONE:
|
||||||
g_trigger_status[channel / 4] |= 1 << (channel % 4 * 2);
|
g_trigger_status[channel / 4] |= 1 << (channel % 4 * 2);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue