mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
node: call init functions for node_tyles
This commit is contained in:
parent
ffbbb9bd51
commit
350112db1c
1 changed files with 4 additions and 0 deletions
|
@ -186,6 +186,10 @@ int node_init(struct node *n, struct node_type *vt)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = node_type(n)->init ? node_type(n)->init(n) : 0;
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
n->state = STATE_INITIALIZED;
|
||||
|
||||
list_push(&vt->instances, n);
|
||||
|
|
Loading…
Add table
Reference in a new issue