From: Frank Stettner Date: Thu, 21 Mar 2019 17:43:39 +0000 (+0100) Subject: korad-kaxxxxp: Add SR_MQFLAG_DC flag to the current channel package. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d1a3f3be458295e4e440231e1bf06fae46bb1449;p=libsigrok.git korad-kaxxxxp: Add SR_MQFLAG_DC flag to the current channel package. --- diff --git a/src/hardware/korad-kaxxxxp/protocol.c b/src/hardware/korad-kaxxxxp/protocol.c index da5abe73..e9345a75 100644 --- a/src/hardware/korad-kaxxxxp/protocol.c +++ b/src/hardware/korad-kaxxxxp/protocol.c @@ -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;