]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/zeroplus-logic-cube/analyzer.c
Build: Set local include directories in Makefile.am
[libsigrok.git] / src / hardware / zeroplus-logic-cube / analyzer.c
index c404a66b73b04a47324f5c5c539c866fe8a0300e..6af8cfc7a9842f78763207efe0f3f2d67a6a5671 100644 (file)
@@ -30,7 +30,7 @@
  */
 
 #include <assert.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "analyzer.h"
 #include "gl_usb.h"
@@ -514,6 +514,7 @@ SR_PRIV int analyzer_add_triggers(const struct sr_dev_inst *sdi)
                        switch (match->match) {
                        case SR_TRIGGER_ZERO:
                                g_trigger_status[channel / 4] |= 2 << (channel % 4 * 2);
+                               break;
                        case SR_TRIGGER_ONE:
                                g_trigger_status[channel / 4] |= 1 << (channel % 4 * 2);
                                break;