]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/protocol.h
GPL headers: Use correct project name.
[libsigrok.git] / hardware / link-mso19 / protocol.h
index 77a87bfee216cd5c016e1dc75f7cba0631e1f5c1..756d625f9da1cf276c1951cecde0c47083b76e14 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
  *
  * Copyright (C) 2011 Daniel Ribeiro <drwyrm@gmail.com>
  * Copyright (C) 2012 Renato Caldas <rmsc@fe.up.pt>
@@ -41,7 +41,7 @@
 #define USB_VENDOR             "3195"
 #define USB_PRODUCT            "f190"
 
-#define NUM_PROBES             8
+#define NUM_PROBES             (1 + 8)
 #define NUM_TRIGGER_STAGES     4
 #define TRIGGER_TYPE           "01"    //the first r/f is used for the whole group
 #define SERIALCOMM             "460800/8n1/flow=2"
@@ -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];
 };