]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/brymen-dmm/protocol.c
Have remaining drivers default to digits=2 for analog values.
[libsigrok.git] / src / hardware / brymen-dmm / protocol.c
index 4cd61ad694f52cd8eee326402d7c1ac9c92f8314..5a7f2252a7e701639278207d2ad880de30942a49 100644 (file)
@@ -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;