diff --git a/lib/nodes/uldaq.c b/lib/nodes/uldaq.c index 32a6a8eb1..e60b850f8 100644 --- a/lib/nodes/uldaq.c +++ b/lib/nodes/uldaq.c @@ -477,8 +477,12 @@ int uldaq_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *re smp->signals = &n->signals; smp->sequence = start_index / u->in.channel_count; smp->flags = SAMPLE_HAS_SEQUENCE | SAMPLE_HAS_DATA; + + debug(2, "sequence no: %zu", smp->sequence); } + debug(2, "cnt: %u", cnt); + pthread_mutex_unlock(&u->in.mutex); return cnt;