From: Uwe Hermann Date: Thu, 24 Dec 2015 00:19:11 +0000 (+0100) Subject: korad-kaxxxxp: Add support for the Velleman PS3005D. X-Git-Tag: libsigrok-0.4.0~61 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=ae9ca5b1df8137083e37588665f7322306346420 korad-kaxxxxp: Add support for the Velleman PS3005D. --- diff --git a/src/hardware/korad-kaxxxxp/api.c b/src/hardware/korad-kaxxxxp/api.c index 07fc9b41..4298d730 100644 --- a/src/hardware/korad-kaxxxxp/api.c +++ b/src/hardware/korad-kaxxxxp/api.c @@ -50,7 +50,9 @@ static const uint32_t devopts[] = { static const struct korad_kaxxxxp_model models[] = { /* Device enum, vendor, model, ID reply, channels, voltage, current */ - {VELLEMAN_LABPS_3005D, "Velleman", "LABPS3005D", + {VELLEMAN_PS3005D, "Velleman", "PS3005D", + "VELLEMANPS3005DV2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}}, + {VELLEMAN_LABPS3005D, "Velleman", "LABPS3005D", "VELLEMANLABPS3005DV2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}}, {KORAD_KA3005P, "Korad", "KA3005P", "KORADKA3005PV2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}}, diff --git a/src/hardware/korad-kaxxxxp/protocol.h b/src/hardware/korad-kaxxxxp/protocol.h index 0e727c7a..55dbc4c6 100644 --- a/src/hardware/korad-kaxxxxp/protocol.h +++ b/src/hardware/korad-kaxxxxp/protocol.h @@ -37,7 +37,8 @@ #define KAXXXXP_POLL_INTERVAL_MS 80 enum { - VELLEMAN_LABPS_3005D, + VELLEMAN_PS3005D, + VELLEMAN_LABPS3005D, KORAD_KA3005P, /* Support for future devices with this protocol. */ };