korad-kaxxxxp: Add support for the Velleman PS3005D.

This commit is contained in:
Uwe Hermann 2015-12-24 01:19:11 +01:00
parent 1d80e1c641
commit ae9ca5b1df
2 changed files with 5 additions and 2 deletions

View 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}},

View 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. */
};