From 2c5bdf1bbdf8d68b8ff9b352c790f50f23d90a23 Mon Sep 17 00:00:00 2001 From: Hannu Vuolasaho Date: Wed, 25 Nov 2015 00:56:23 +0200 Subject: [PATCH] Support for Korad KA3005P --- src/hardware/korad-kaxxxxp/api.c | 2 ++ src/hardware/korad-kaxxxxp/protocol.h | 1 + 2 files changed, 3 insertions(+) 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. */ };