]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/protocol.h
mso-19: Fixed warning.
[libsigrok.git] / hardware / link-mso19 / protocol.h
index 9f7676a3dcee5cf2d521e8f99f6aa2210bc1315e..687e5a09d69b0c35325b0bc6d9fc5293db6bd499 100644 (file)
@@ -43,7 +43,7 @@
 
 #define NUM_PROBES             8
 #define NUM_TRIGGER_STAGES     4
-#define TRIGGER_TYPES          "01"    //the first r/f is used for the whole group
+#define TRIGGER_TYPE           "01"    //the first r/f is used for the whole group
 #define SERIALCOMM             "460800/8n1/flow=2"
 #define SERIALCONN             "/dev/ttyUSB0"
 #define CLOCK_RATE             SR_MHZ(100)
@@ -123,7 +123,7 @@ struct dev_context {
        double dso_trigger_voltage;
        uint16_t dso_trigger_width;
        struct mso_prototrig protocol_trigger;
-       void *session_dev_id;
+       void *cb_data;
        uint16_t buffer_n;
        char buffer[4096];
 };