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: increase buffer

This commit is contained in:
Steffen Vogel 2018-09-25 20:49:06 +02:00
parent fa2667986b
commit 5413088039

View file

@ -339,7 +339,7 @@ int uldaq_start(struct node *n)
UlError err;
/* Allocate a buffer to receive the data */
u->in.buffer_len = u->in.channel_count * n->in.vectorize;
u->in.buffer_len = u->in.channel_count * n->in.vectorize * 5;
u->in.buffer = (double *) alloc(u->in.buffer_len * sizeof(double));
if (!u->in.buffer) {
warn("Out of memory, unable to create scan buffer");