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:
parent
fa2667986b
commit
5413088039
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue