]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/link-mso19.c
Shorten probe_names[] arrays everywhere.
[libsigrok.git] / hardware / link-mso19 / link-mso19.c
index 521c8440acb08ab5591eabe88f9beedee9272bb7..40e8d9e3ed802456cce81902494cb8be7465ee63 100644 (file)
@@ -54,14 +54,7 @@ static const int hwcaps[] = {
  * See also: http://www.linkinstruments.com/images/mso19_1113.gif
  */
 static const char *probe_names[NUM_PROBES + 1] = {
-       "0",
-       "1",
-       "2",
-       "3",
-       "4",
-       "5",
-       "6",
-       "7",
+       "0", "1", "2", "3", "4", "5", "6", "7",
        NULL,
 };
 
@@ -401,7 +394,7 @@ static int mso_parse_serial(const char *iSerial, const char *iProduct,
        return SR_OK;
 }
 
-static int hw_init(void)
+static int hw_init(struct sr_context *sr_ctx)
 {
        /* Nothing to do. */