X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fbrymen-dmm%2Fprotocol.c;h=5a7f2252a7e701639278207d2ad880de30942a49;hb=e68c0eb4097e4a01d65c71f473a48c367e06609d;hp=4cd61ad694f52cd8eee326402d7c1ac9c92f8314;hpb=1653c4309ab4d5756a2af7520d7d13a63f5e3619;p=libsigrok.git diff --git a/src/hardware/brymen-dmm/protocol.c b/src/hardware/brymen-dmm/protocol.c index 4cd61ad6..5a7f2252 100644 --- a/src/hardware/brymen-dmm/protocol.c +++ b/src/hardware/brymen-dmm/protocol.c @@ -32,7 +32,8 @@ static void handle_packet(const uint8_t *buf, struct sr_dev_inst *sdi) devc = sdi->priv; - sr_analog_init(&analog, &encoding, &meaning, &spec, 0); + /* TODO: Use proper 'digits' value for this device (and its modes). */ + sr_analog_init(&analog, &encoding, &meaning, &spec, 2); analog.num_samples = 1; analog.meaning->mq = 0;