]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/korad-kaxxxxp/api.c
serial: flush() after open() in the serial core.
[libsigrok.git] / src / hardware / korad-kaxxxxp / api.c
index 3c9a2718f1a8fe9b5a09b8fde31cb92144777da4..d5146261551d88a8ab8155452c1bed1119bf2239 100644 (file)
@@ -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++) {