mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
uldaq: add debugging
This commit is contained in:
parent
eda8f19aa3
commit
6596b02ada
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue