]> sigrok.org Git - libsigrok.git/commitdiff
korad-kaxxxxp: add yet another KD3005P identification string
authorGerhard Sittig <redacted>
Fri, 12 Oct 2018 08:49:12 +0000 (10:49 +0200)
committerGerhard Sittig <redacted>
Sat, 13 Oct 2018 12:27:56 +0000 (14:27 +0200)
Apparently there are devices which identify as "KORADKD3005PV2.0" (no
whitespace, no trailing 0x01). Add another model entry.

Reported-By: Lars Pötter
src/hardware/korad-kaxxxxp/api.c
src/hardware/korad-kaxxxxp/protocol.h

index eb2e14880302c6ddfb97b4008ccaf81bb28369aa..7d8698231761f217ec47b671994688c15626fe57 100644 (file)
@@ -57,6 +57,8 @@ static const struct korad_kaxxxxp_model models[] = {
                "KORADKA3005PV2.0\x01", 1, {0, 31, 0.01}, {0, 5, 0.001}},
        {KORAD_KD3005P, "Korad", "KD3005P",
                "KORAD KD3005P V2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}},
+       {KORAD_KD3005P_V20_NOSP, "Korad", "KD3005P",
+               "KORADKD3005PV2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}},
        {RND_320K30PV, "RND", "KA3005P",
                "RND 320-KA3005P V2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}},
        ALL_ZERO
index e4b133e1ac7f216e517aa29320edad55fce3f70e..016bd66eefeab729a47a0d4cac0a6cd1e2876c62 100644 (file)
@@ -37,6 +37,7 @@ enum {
        KORAD_KA3005P,
        KORAD_KA3005P_0X01,
        KORAD_KD3005P,
+       KORAD_KD3005P_V20_NOSP,
        RND_320K30PV,
        /* Support for future devices with this protocol. */
 };