]> sigrok.org Git - libsigrok.git/commitdiff
korad-kaxxxxp: Add support for the Velleman PS3005D.
authorUwe Hermann <redacted>
Thu, 24 Dec 2015 00:19:11 +0000 (01:19 +0100)
committerUwe Hermann <redacted>
Thu, 24 Dec 2015 00:19:11 +0000 (01:19 +0100)
src/hardware/korad-kaxxxxp/api.c
src/hardware/korad-kaxxxxp/protocol.h

index 07fc9b41056a51d6ce488be676084c56959153b9..4298d730aba9de30c209e6b143c3a0f1775fa2b6 100644 (file)
@@ -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}},
index 0e727c7abf681ba9d1ae32187328c1e704e973eb..55dbc4c62a0a74ae80818b7789d42a639087edb5 100644 (file)
@@ -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. */
 };