From: Hannu Vuolasaho Date: Tue, 24 Nov 2015 22:56:23 +0000 (+0200) Subject: Support for Korad KA3005P X-Git-Tag: libsigrok-0.4.0~103 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2c5bdf1bbdf8d68b8ff9b352c790f50f23d90a23;p=libsigrok.git Support for Korad KA3005P --- diff --git a/src/hardware/korad-kaxxxxp/api.c b/src/hardware/korad-kaxxxxp/api.c index c195f1f8..38bbefcb 100644 --- a/src/hardware/korad-kaxxxxp/api.c +++ b/src/hardware/korad-kaxxxxp/api.c @@ -52,6 +52,8 @@ static const struct korad_kaxxxxp_model models[] = { /* Device enum, vendor, model, ID reply, channels, voltage, current */ {VELLEMAN_LABPS_3005D, "Velleman", "LABPS3005D", "VELLEMANLABPS3005DV2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}}, + {KORAD_KA3005D, "Korad", "KA3005P", + "KORADKA3005PV2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}}, {0, NULL, NULL, NULL, 0, {0, 0, 0}, {0, 0, 0}} }; diff --git a/src/hardware/korad-kaxxxxp/protocol.h b/src/hardware/korad-kaxxxxp/protocol.h index 1a9dfe30..5df3fce6 100644 --- a/src/hardware/korad-kaxxxxp/protocol.h +++ b/src/hardware/korad-kaxxxxp/protocol.h @@ -38,6 +38,7 @@ enum { VELLEMAN_LABPS_3005D, + KORAD_KA3005D, /* Support for future devices with this protocol. */ };