]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-dso/api.c
drivers: Shorten some unnecessarily long arrays.
[libsigrok.git] / src / hardware / hantek-dso / api.c
index f00d8b6c9bbb248eb065f06651434b3e9d4a6fd3..651c0e6125ee8dba068c85be9308ca5d7c7c5c1a 100644 (file)
@@ -144,21 +144,16 @@ static const uint64_t vdivs[][2] = {
 };
 
 static const char *trigger_sources[] = {
-       "CH1",
-       "CH2",
-       "EXT",
+       "CH1", "CH2", "EXT",
        /* TODO: forced */
 };
 
 static const char *trigger_slopes[] = {
-       "r",
-       "f",
+       "r", "f",
 };
 
 static const char *coupling[] = {
-       "AC",
-       "DC",
-       "GND",
+       "AC", "DC", "GND",
 };
 
 static struct sr_dev_inst *dso_dev_new(const struct dso_profile *prof)