From: Hannu Vuolasaho Date: Mon, 30 Nov 2015 20:47:56 +0000 (+0200) Subject: korad-kaxxxxp: Fix typo in Korad driver device enum X-Git-Tag: libsigrok-0.4.0~85 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bcf9384d3d2cad0effb5ef2769697d8af05b8a17;p=libsigrok.git korad-kaxxxxp: Fix typo in Korad driver device enum --- 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. */ };