]> sigrok.org Git - libsigrok.git/commitdiff
korad-kaxxxxp: Add SR_MQFLAG_DC flag to the current channel package.
authorFrank Stettner <redacted>
Thu, 21 Mar 2019 17:43:39 +0000 (18:43 +0100)
committerUwe Hermann <redacted>
Fri, 29 Mar 2019 15:15:37 +0000 (16:15 +0100)
src/hardware/korad-kaxxxxp/protocol.c

index da5abe73e47a6765d6031a8c175aafdbd200c913..e9345a75983ae2fe1f660f92ae28985a87a0f29a 100644 (file)
@@ -332,7 +332,7 @@ SR_PRIV int korad_kaxxxxp_receive_data(int fd, int revents, void *cb_data)
                analog.meaning->channels = l;
                analog.meaning->mq = SR_MQ_CURRENT;
                analog.meaning->unit = SR_UNIT_AMPERE;
-               analog.meaning->mqflags = 0;
+               analog.meaning->mqflags = SR_MQFLAG_DC;
                analog.encoding->digits = 3;
                analog.spec->spec_digits = 3;
                analog.data = &devc->current;