X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Flink-mso19%2Fprotocol.h;h=bf9488ddd1e7cc0d2cb57562315ee45e6a3473b0;hb=57981a0716a5d9bec807cad8289d091893de0919;hp=77a87bfee216cd5c016e1dc75f7cba0631e1f5c1;hpb=c50277a6ec09fb35de3a6e0f2ae3401bc72a1526;p=libsigrok.git diff --git a/hardware/link-mso19/protocol.h b/hardware/link-mso19/protocol.h index 77a87bfe..bf9488dd 100644 --- a/hardware/link-mso19/protocol.h +++ b/hardware/link-mso19/protocol.h @@ -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]; };