]> sigrok.org Git - libsigrok.git/commitdiff
korad-kaxxxxp: Add Tenma 72-2540 V2.0/V2.1 support (untested).
authorUwe Hermann <redacted>
Sat, 13 Oct 2018 15:21:56 +0000 (17:21 +0200)
committerUwe Hermann <redacted>
Sat, 13 Oct 2018 15:26:47 +0000 (17:26 +0200)
The IDN strings were mentioned here:
https://github.com/kxtells/tenma-serial/issues/2

src/hardware/korad-kaxxxxp/api.c
src/hardware/korad-kaxxxxp/protocol.h

index 7d8698231761f217ec47b671994688c15626fe57..eac10b8052aa20c47de7c62e933ec980be23c41a 100644 (file)
@@ -61,6 +61,10 @@ static const struct korad_kaxxxxp_model models[] = {
                "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}},
+       {TENMA_72_2540_V20, "Tenma", "72-2540",
+               "TENMA72-2540V2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}},
+       {TENMA_72_2540_V21, "Tenma", "72-2540",
+               "TENMA 72-2540 V2.1", 1, {0, 31, 0.01}, {0, 5, 0.001}},
        ALL_ZERO
 };
 
index 016bd66eefeab729a47a0d4cac0a6cd1e2876c62..34c6465a62c17db91be8167a12fdc962a9ea7f9f 100644 (file)
@@ -39,6 +39,8 @@ enum {
        KORAD_KD3005P,
        KORAD_KD3005P_V20_NOSP,
        RND_320K30PV,
+       TENMA_72_2540_V20,
+       TENMA_72_2540_V21,
        /* Support for future devices with this protocol. */
 };