]> sigrok.org Git - libsigrok.git/blobdiff - hardware/sysclk-lwla/protocol.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / hardware / sysclk-lwla / protocol.c
index 75b3806362c573ef2d5535b43416d9fe71e5f287..7bb1948d030c9b7a0bf60bbac1742a5eec65eeda 100644 (file)
@@ -545,7 +545,7 @@ static int process_sample_data(const struct sr_dev_inst *sdi)
 
                if (acq->rle == RLE_STATE_DATA) {
                        acq->sample = word & ALL_CHANNELS_MASK;
-                       acq->run_len = ((word >> NUM_PROBES) & 1) + 1;
+                       acq->run_len = ((word >> NUM_CHANNELS) & 1) + 1;
                        if (word & RLE_FLAG_LEN_FOLLOWS)
                                acq->rle = RLE_STATE_LEN;
                } else {