]> sigrok.org Git - libsigrok.git/commitdiff
korad-kaxxxxp: Fix typo in Korad driver device enum
authorHannu Vuolasaho <redacted>
Mon, 30 Nov 2015 20:47:56 +0000 (22:47 +0200)
committerUwe Hermann <redacted>
Tue, 1 Dec 2015 09:46:40 +0000 (10:46 +0100)
src/hardware/korad-kaxxxxp/api.c
src/hardware/korad-kaxxxxp/protocol.h

index 7eca205c78bdd22864e9f0ec643c47ca12ff62a1..07fc9b41056a51d6ce488be676084c56959153b9 100644 (file)
@@ -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
 };
index 5df3fce60c35ab6725a9f9aef3f8619b8feb2d5c..0e727c7abf681ba9d1ae32187328c1e704e973eb 100644 (file)
@@ -38,7 +38,7 @@
 
 enum {
        VELLEMAN_LABPS_3005D,
-       KORAD_KA3005D,
+       KORAD_KA3005P,
        /* Support for future devices with this protocol. */
 };