]> sigrok.org Git - libsigrok.git/blobdiff - hardware/alsa/protocol.c
Always interleave analog data with all enabled probes.
[libsigrok.git] / hardware / alsa / protocol.c
index 4a9f02f3075342c7ed239f63225531fa7652e36f..2d95f8cb17565977c08e84451976c5926bb3716a 100644 (file)
@@ -396,6 +396,7 @@ SR_PRIV int alsa_receive_data(int fd, int revents, void *cb_data)
        }
 
        /* Send a sample packet with the analog values. */
+       analog.probes = sdi->probes;
        analog.num_samples = count;
        analog.mq = SR_MQ_VOLTAGE; /* FIXME */
        analog.unit = SR_UNIT_VOLT; /* FIXME */