X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ftondaj-sl-814%2Fprotocol.c;h=feeec69aa559c7f947eacc111952aa991cc9aa2e;hb=a4e435eb49c1fa30c31d5851b404001324cafe33;hp=b390598f93ebdaddce8c0055994ecb6c97d220fd;hpb=a5e44c3247ae64ab1a65e7c6ebe6d66c6ab0a0a1;p=libsigrok.git diff --git a/hardware/tondaj-sl-814/protocol.c b/hardware/tondaj-sl-814/protocol.c index b390598f..feeec69a 100644 --- a/hardware/tondaj-sl-814/protocol.c +++ b/hardware/tondaj-sl-814/protocol.c @@ -98,7 +98,7 @@ static void decode_packet(struct sr_dev_inst *sdi) parse_packet(devc->buf, &floatval, &analog); /* Send a sample packet with one analog value. */ - analog.probes = sdi->probes; + analog.channels = sdi->channels; analog.num_samples = 1; analog.data = &floatval; packet.type = SR_DF_ANALOG;