From: Gerhard Sittig Date: Fri, 12 Oct 2018 08:49:12 +0000 (+0200) Subject: korad-kaxxxxp: add yet another KD3005P identification string X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=76f712a73f3213a7ec0a38e38302cf2f04f48976;p=libsigrok.git korad-kaxxxxp: add yet another KD3005P identification string Apparently there are devices which identify as "KORADKD3005PV2.0" (no whitespace, no trailing 0x01). Add another model entry. Reported-By: Lars Pötter --- diff --git a/src/hardware/korad-kaxxxxp/api.c b/src/hardware/korad-kaxxxxp/api.c index eb2e1488..7d869823 100644 --- a/src/hardware/korad-kaxxxxp/api.c +++ b/src/hardware/korad-kaxxxxp/api.c @@ -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 diff --git a/src/hardware/korad-kaxxxxp/protocol.h b/src/hardware/korad-kaxxxxp/protocol.h index e4b133e1..016bd66e 100644 --- a/src/hardware/korad-kaxxxxp/protocol.h +++ b/src/hardware/korad-kaxxxxp/protocol.h @@ -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. */ };