X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkorad-kaxxxxp%2Fapi.c;h=d5146261551d88a8ab8155452c1bed1119bf2239;hb=4c80a272842271ace8f8a44f027615903ba8baee;hp=3c9a2718f1a8fe9b5a09b8fde31cb92144777da4;hpb=8b58a519e4d9e972f2cfc2f05ab2fc2c9f3fd591;p=libsigrok.git diff --git a/src/hardware/korad-kaxxxxp/api.c b/src/hardware/korad-kaxxxxp/api.c index 3c9a2718..d5146261 100644 --- a/src/hardware/korad-kaxxxxp/api.c +++ b/src/hardware/korad-kaxxxxp/api.c @@ -72,6 +72,8 @@ static const struct korad_kaxxxxp_model models[] = { "RND 320-KA3005P V5.5", 1, {0, 31, 0.01}, {0, 5.1, 0.001}}, {RND_320K30PV, "RND", "KA3005P", "RND 320-KA3005P V2.0", 1, {0, 31, 0.01}, {0, 5.1, 0.001}}, + {TENMA_72_2550_V2, "Tenma", "72-2550", + "TENMA72-2550V2.0", 1, {0, 61, 0.01}, {0, 3.1, 0.001}}, {TENMA_72_2540_V20, "Tenma", "72-2540", "TENMA72-2540V2.0", 1, {0, 31, 0.01}, {0, 5.1, 0.001}}, {TENMA_72_2540_V21, "Tenma", "72-2540", @@ -126,8 +128,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) if (serial_open(serial, SERIAL_RDWR) != SR_OK) return NULL; - serial_flush(serial); - /* Get the device model. */ len = 0; for (i = 0; models[i].id; i++) {