]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/korad-kaxxxxp/api.c
kingst-la2016: rename logic channels to match product's labels
[libsigrok.git] / src / hardware / korad-kaxxxxp / api.c
index 78c55b476cf4dabaad18b3735fc818f7833c5359..d5237441c42420cf44c46573adb02063209bf0d9 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",
@@ -84,6 +86,8 @@ static const struct korad_kaxxxxp_model models[] = {
                "TENMA 72-2540 V5.2", 1, {0, 31, 0.01}, {0, 5.1, 0.001}},
        {TENMA_72_2535_V21, "Tenma", "72-2535",
                "TENMA 72-2535 V2.1", 1, {0, 31, 0.01}, {0, 3.1, 0.001}},
+       {TENMA_72_2710_V66, "Tenma", "72-2710",
+               "TENMA 72-2710 V6.6", 1, {0, 31, 0.01}, {0, 5.1, 0.001}},
        {STAMOS_SLS31_V20, "Stamos Soldering", "S-LS-31",
                "S-LS-31 V2.0", 1, {0, 31, 0.01}, {0, 5.1, 0.001}},
        {KORAD_KD6005P, "Korad", "KD6005P",
@@ -159,7 +163,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;