1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

uldaq: fix sequence no again

This commit is contained in:
Steffen Vogel 2018-09-25 20:56:05 +02:00
parent 6596b02ada
commit f75f4c4a95

View file

@ -475,7 +475,7 @@ int uldaq_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *re
smp->length = u->in.channel_count;
smp->signals = &n->signals;
smp->sequence = start_index / u->in.channel_count;
smp->sequence = scan_index / u->in.channel_count;
smp->flags = SAMPLE_HAS_SEQUENCE | SAMPLE_HAS_DATA;
debug(2, "sequence no: %zu", smp->sequence);