korad-kaxxxxp: Add SR_MQFLAG_DC flag to the current channel package.
This commit is contained in:
parent
8107a9a650
commit
d1a3f3be45
|
@ -332,7 +332,7 @@ SR_PRIV int korad_kaxxxxp_receive_data(int fd, int revents, void *cb_data)
|
||||||
analog.meaning->channels = l;
|
analog.meaning->channels = l;
|
||||||
analog.meaning->mq = SR_MQ_CURRENT;
|
analog.meaning->mq = SR_MQ_CURRENT;
|
||||||
analog.meaning->unit = SR_UNIT_AMPERE;
|
analog.meaning->unit = SR_UNIT_AMPERE;
|
||||||
analog.meaning->mqflags = 0;
|
analog.meaning->mqflags = SR_MQFLAG_DC;
|
||||||
analog.encoding->digits = 3;
|
analog.encoding->digits = 3;
|
||||||
analog.spec->spec_digits = 3;
|
analog.spec->spec_digits = 3;
|
||||||
analog.data = &devc->current;
|
analog.data = &devc->current;
|
||||||
|
|
Loading…
Reference in New Issue