]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/motech-lps-30x/api.c
Constify a few arrays and variables.
[libsigrok.git] / src / hardware / motech-lps-30x / api.c
index d040fe6e754d6cad5adc2b731b764b94549b3204..0ed6b09b458f56a00a396afaac19e13863a9c077 100644 (file)
@@ -88,7 +88,7 @@ static const char *channel_modes[] = {
        "Track2",
 };
 
-static struct lps_modelspec models[] = {
+static const struct lps_modelspec models[] = {
        { LPS_UNKNOWN, "Dummy", 0,
                {
 
@@ -441,7 +441,6 @@ static GSList *do_scan(lps_modelid modelid, struct sr_dev_driver *drv, GSList *o
                        goto exit_err;
                }
 
-
                g_strstrip(buf);
                verstr = buf + 4;
        }