]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/korad-kaxxxxp/api.c
hp-59306a: Initial HP 59306A driver.
[libsigrok.git] / src / hardware / korad-kaxxxxp / api.c
index 78c55b476cf4dabaad18b3735fc818f7833c5359..50f17827fd8d1de73a06b9786d181eadfc27a3fb 100644 (file)
@@ -68,6 +68,8 @@ static const struct korad_kaxxxxp_model models[] = {
                "KORAD KD3005P V2.0", 1, {0, 31, 0.01}, {0, 5.1, 0.001}},
        {KORAD_KD3005P_V20_NOSP, "Korad", "KD3005P",
                "KORADKD3005PV2.0", 1, {0, 31, 0.01}, {0, 5.1, 0.001}},
+       {KORAD_KD3005P_V21_NOSP, "Korad", "KD3005P",
+               "KORADKD3005PV2.1", 1, {0, 31, 0.01}, {0, 5.1, 0.001}},
        {RND_320_KD3005P, "RND", "KD3005P",
                "RND 320-KD3005P V4.2", 1, {0, 31, 0.01}, {0, 5.1, 0.001}},
        {RND_320_KA3005P, "RND", "KA3005P",
@@ -159,7 +161,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
        if (ret < 0)
                return NULL;
 
-       memset(&reply, 0, sizeof(reply));
        ret = korad_kaxxxxp_read_chars(serial, len, reply);
        if (ret < 0)
                return NULL;