]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/yokogawa-dlm/protocol.h
scpi: Move SCPI-related definitions to separate header file.
[libsigrok.git] / src / hardware / yokogawa-dlm / protocol.h
index c5e7d5609daabe2fb301f0fe439d2eebbbfbc2ff..80def3f9de550d752f54dc7371f0525ae9e13190 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol_wrappers.h"
 
@@ -41,7 +41,7 @@
 #define DLM_DIVISION_FOR_WORD_FORMAT 3200
 #define DLM_DIVISION_FOR_BYTE_FORMAT 12.5
 
-#define DLM_DIG_CHAN_INDEX_OFFS (32)
+#define DLM_DIG_CHAN_INDEX_OFFS 32
 
 enum trigger_slopes {
        SLOPE_POSITIVE,