From bcf9384d3d2cad0effb5ef2769697d8af05b8a17 Mon Sep 17 00:00:00 2001 From: Hannu Vuolasaho Date: Mon, 30 Nov 2015 22:47:56 +0200 Subject: [PATCH] korad-kaxxxxp: Fix typo in Korad driver device enum --- src/hardware/korad-kaxxxxp/api.c | 2 +- src/hardware/korad-kaxxxxp/protocol.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/korad-kaxxxxp/api.c b/src/hardware/korad-kaxxxxp/api.c index 7eca205c..07fc9b41 100644 --- a/src/hardware/korad-kaxxxxp/api.c +++ b/src/hardware/korad-kaxxxxp/api.c @@ -52,7 +52,7 @@ 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", + {KORAD_KA3005P, "Korad", "KA3005P", "KORADKA3005PV2.0", 1, {0, 31, 0.01}, {0, 5, 0.001}}, ALL_ZERO }; diff --git a/src/hardware/korad-kaxxxxp/protocol.h b/src/hardware/korad-kaxxxxp/protocol.h index 5df3fce6..0e727c7a 100644 --- a/src/hardware/korad-kaxxxxp/protocol.h +++ b/src/hardware/korad-kaxxxxp/protocol.h @@ -38,7 +38,7 @@ enum { VELLEMAN_LABPS_3005D, - KORAD_KA3005D, + KORAD_KA3005P, /* Support for future devices with this protocol. */ };