korad-kaxxxxp: Add SR_MQFLAG_DC flag to the current channel package.

This commit is contained in:
Frank Stettner 2019-03-21 18:43:39 +01:00 committed by Uwe Hermann
parent 8107a9a650
commit d1a3f3be45
1 changed files with 1 additions and 1 deletions

View 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->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;