mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
First working version with analog sampling
This commit is contained in:
parent
ffbbb9bd51
commit
32c4c5eb21
1 changed files with 2 additions and 0 deletions
|
@ -440,6 +440,8 @@ int uldaq_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *re
|
|||
for (int i = 0; i < list_length(&n->signals); i++) {
|
||||
smp->data[i].f = u->in.buffer[index + i];
|
||||
}
|
||||
smp->length = 1;
|
||||
smp->signals = &n->signals;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue