From: JD Steffen Date: Mon, 21 Feb 2022 21:01:59 +0000 (-0600) Subject: korad-kaxxxxp: add an entry for Korad KD3005P V4.1 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d154c6b69c5e0b364b26700d37dc2d762cf426f7;p=libsigrok.git korad-kaxxxxp: add an entry for Korad KD3005P V4.1 Renames the previous entry to _V20, and adds _V41 to the list. [ gsi: squash commits, fixup whitespace, sort order, reword message ] --- diff --git a/src/hardware/korad-kaxxxxp/api.c b/src/hardware/korad-kaxxxxp/api.c index d5237441..27b919f5 100644 --- a/src/hardware/korad-kaxxxxp/api.c +++ b/src/hardware/korad-kaxxxxp/api.c @@ -64,12 +64,14 @@ static const struct korad_kaxxxxp_model models[] = { "KORAD KA3005P V4.2", 1, {0, 31, 0.01}, {0, 5.1, 0.001}}, {KORAD_KA3005P_V55, "Korad", "KA3005P", "KORAD KA3005P V5.5", 1, {0, 31, 0.01}, {0, 5.1, 0.001}}, - {KORAD_KD3005P, "Korad", "KD3005P", + {KORAD_KD3005P_V20, "Korad", "KD3005P", "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}}, + {KORAD_KD3005P_V41, "Korad", "KD3005P", + "KORAD KD3005P V4.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", diff --git a/src/hardware/korad-kaxxxxp/protocol.h b/src/hardware/korad-kaxxxxp/protocol.h index 315961b1..b0f3d497 100644 --- a/src/hardware/korad-kaxxxxp/protocol.h +++ b/src/hardware/korad-kaxxxxp/protocol.h @@ -39,9 +39,10 @@ enum { KORAD_KA3005P_0XBC, KORAD_KA3005P_V42, KORAD_KA3005P_V55, - KORAD_KD3005P, + KORAD_KD3005P_V20, KORAD_KD3005P_V20_NOSP, KORAD_KD3005P_V21_NOSP, + KORAD_KD3005P_V41, RND_320_KD3005P, RND_320_KA3005P, RND_320K30PV,