From: Timo Kokkonen Date: Tue, 14 Jul 2020 04:44:25 +0000 (-0700) Subject: gwinstek-gpd: Add support for GPD-3303S. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3b316fdca049e3c2b5641be6e3341afcb46d613f;p=libsigrok.git gwinstek-gpd: Add support for GPD-3303S. --- diff --git a/src/hardware/gwinstek-gpd/api.c b/src/hardware/gwinstek-gpd/api.c index 74064606..c59ec00f 100644 --- a/src/hardware/gwinstek-gpd/api.c +++ b/src/hardware/gwinstek-gpd/api.c @@ -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) diff --git a/src/hardware/gwinstek-gpd/protocol.h b/src/hardware/gwinstek-gpd/protocol.h index 615bb24a..b518f9ba 100644 --- a/src/hardware/gwinstek-gpd/protocol.h +++ b/src/hardware/gwinstek-gpd/protocol.h @@ -29,6 +29,7 @@ enum { GPD_2303S, + GPD_3303S, }; /* Maximum number of output channels handled by this driver. */