mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
uldaq: fix minor bugs
This commit is contained in:
parent
f499e49ef7
commit
a6ae879edc
1 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ int uldaq_parse(struct node *n, json_t *cfg)
|
|||
json_t *json_signal;
|
||||
json_error_t err;
|
||||
|
||||
ret = json_unpack_ex(cfg, &err, 0, "{ s: { s: o, s: d } }",
|
||||
ret = json_unpack_ex(cfg, &err, 0, "{ s: { s: o, s: F } }",
|
||||
"in",
|
||||
"signals", &json_signals,
|
||||
"sample_rate", &u->in.sample_rate,
|
||||
|
@ -305,7 +305,7 @@ static struct plugin p = {
|
|||
.type = PLUGIN_TYPE_NODE,
|
||||
.node = {
|
||||
.vectorize = 0,
|
||||
.flags = NODE_TYPE_PROVIDES_SIGNALS,
|
||||
.flags = 0,
|
||||
.size = sizeof(struct uldaq),
|
||||
.parse = uldaq_parse,
|
||||
.init = uldaq_init,
|
||||
|
|
Loading…
Add table
Reference in a new issue