From: Uwe Hermann Date: Sat, 13 Oct 2018 15:21:56 +0000 (+0200) Subject: korad-kaxxxxp: Add Tenma 72-2540 V2.0/V2.1 support (untested). X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0540954d76ddcdb2563b53361ad1e98de2554d05;p=libsigrok.git korad-kaxxxxp: Add Tenma 72-2540 V2.0/V2.1 support (untested). The IDN strings were mentioned here: https://github.com/kxtells/tenma-serial/issues/2 --- diff --git a/src/hardware/korad-kaxxxxp/api.c b/src/hardware/korad-kaxxxxp/api.c index 7d869823..eac10b80 100644 --- a/src/hardware/korad-kaxxxxp/api.c +++ b/src/hardware/korad-kaxxxxp/api.c @@ -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 }; diff --git a/src/hardware/korad-kaxxxxp/protocol.h b/src/hardware/korad-kaxxxxp/protocol.h index 016bd66e..34c6465a 100644 --- a/src/hardware/korad-kaxxxxp/protocol.h +++ b/src/hardware/korad-kaxxxxp/protocol.h @@ -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. */ };