1
0
Fork 0
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:
Manuel Pitz 2018-09-25 19:11:26 +02:00
parent ffbbb9bd51
commit 32c4c5eb21

View file

@ -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;