1
0
Fork 0
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:
Steffen Vogel 2018-09-25 19:18:46 +02:00
parent ffbbb9bd51
commit 350112db1c

View file

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