mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
path: revert manuels (false-)fixes
This commit is contained in:
parent
9acba252e5
commit
f4044ff861
2 changed files with 2 additions and 2 deletions
|
@ -378,7 +378,7 @@ int path_prepare(struct vpath *p, NodeList &nodes)
|
|||
|
||||
/* Prepare pool */
|
||||
pool_size = MAX(1UL, vlist_length(&p->destinations)) * p->queuelen;
|
||||
ret = pool_init(&p->pool, pool_size, SAMPLE_LENGTH(vlist_length(&p->signals)), pool_mt);
|
||||
ret = pool_init(&p->pool, pool_size, SAMPLE_LENGTH(vlist_length(path_output_signals(p))), pool_mt);
|
||||
|
||||
if (ret)
|
||||
return ret;
|
||||
|
|
|
@ -57,7 +57,7 @@ int path_source_init_master(struct vpath_source *ps, struct vnode *n)
|
|||
if (ps->node->_vt->pool_size)
|
||||
pool_size = ps->node->_vt->pool_size;
|
||||
|
||||
ret = pool_init(&ps->pool, pool_size, SAMPLE_LENGTH(vlist_length(&ps->node->in.signals)), node_memory_type(ps->node));
|
||||
ret = pool_init(&ps->pool, pool_size, SAMPLE_LENGTH(vlist_length(node_input_signals(ps->node))), node_memory_type(ps->node));
|
||||
|
||||
if (ret)
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Reference in a new issue