]> sigrok.org Git - libsigrok.git/commitdiff
gwinstek-gpd: Add support for GPD-3303S.
authorTimo Kokkonen <redacted>
Tue, 14 Jul 2020 04:44:25 +0000 (21:44 -0700)
committerGerhard Sittig <redacted>
Fri, 31 Jul 2020 12:28:38 +0000 (14:28 +0200)
src/hardware/gwinstek-gpd/api.c
src/hardware/gwinstek-gpd/protocol.h

index 7406460623fe4d55d53542106c60f68629398e6d..c59ec00f30de9740ca1bdfc67c91ca25565f3fe2 100644 (file)
@@ -60,6 +60,16 @@ static const struct gpd_model models[] = {
                        { { 0, 30, 0.001 }, { 0, 3, 0.001 } },
                },
        },
+       { GPD_3303S, "GPD-3303S",
+               CHANMODE_INDEPENDENT,
+               2,
+               {
+                       /* Channel 1 */
+                       { { 0, 32, 0.001 }, { 0, 3.2, 0.001 } },
+                       /* Channel 2 */
+                       { { 0, 32, 0.001 }, { 0, 3.2, 0.001 } },
+               },
+       },
 };
 
 static GSList *scan(struct sr_dev_driver *di, GSList *options)
index 615bb24acaa0632e2af83ee8bd14c5ebdab81108..b518f9ba857e64d730ec467e700ed15b998444d3 100644 (file)
@@ -29,6 +29,7 @@
 
 enum {
        GPD_2303S,
+       GPD_3303S,
 };
 
 /* Maximum number of output channels handled by this driver. */