X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=hardware%2Fasix-sigma%2Fasix-sigma.c;h=a1f0a8ce91b8c063bcbc92a3a4c766521a0a8217;hb=c09f0b578c0e9c03590cb814f66004bb3f6815ff;hp=bb90b41ae507b5e7262864a0c365d0d800f93831;hpb=ea9cfed7a55260ab97f57150b57c42a28c3a85a7;p=libsigrok.git diff --git a/hardware/asix-sigma/asix-sigma.c b/hardware/asix-sigma/asix-sigma.c index bb90b41a..a1f0a8ce 100644 --- a/hardware/asix-sigma/asix-sigma.c +++ b/hardware/asix-sigma/asix-sigma.c @@ -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,