]> sigrok.org Git - libsigrok.git/blobdiff - hardware/asix-sigma/asix-sigma.c
sr/cli/gtk/qt/: s/plugin/driver/.
[libsigrok.git] / hardware / asix-sigma / asix-sigma.c
index bb90b41ae507b5e7262864a0c365d0d800f93831..a1f0a8ce91b8c063bcbc92a3a4c766521a0a8217 100644 (file)
@@ -57,8 +57,12 @@ static uint64_t supported_samplerates[] = {
        0,
 };
 
+/*
+ * Probe numbers seem to go from 1-16, according to this image:
+ * http://tools.asix.net/img/sigma_sigmacab_pins_720.jpg
+ * (the cable has two additional GND pins, and a TI and TO pin)
+ */
 static const char *probe_names[NUM_PROBES + 1] = {
-       "0",
        "1",
        "2",
        "3",
@@ -74,6 +78,7 @@ static const char *probe_names[NUM_PROBES + 1] = {
        "13",
        "14",
        "15",
+       "16",
        NULL,
 };
 
@@ -1408,7 +1413,7 @@ static int hw_dev_acquisition_stop(int dev_index, gpointer session_data)
        return SR_OK;
 }
 
-SR_PRIV struct sr_dev_plugin asix_sigma_plugin_info = {
+SR_PRIV struct sr_dev_driver asix_sigma_driver_info = {
        .name = "asix-sigma",
        .longname = "ASIX SIGMA",
        .api_version = 1,