mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
bugfix for values array reading from json file
This commit is contained in:
parent
8e883cc66d
commit
831a6824bd
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ int signal_generator_parse(struct node *n, json_t *cfg)
|
|||
throw ConfigError(json_type, "node-config-node-signal", "Length of values must match");
|
||||
|
||||
json_array_foreach(json_type, i, json_value) {
|
||||
type_str = json_string_value(json_type);
|
||||
type_str = json_string_value(json_value);
|
||||
|
||||
s->type[i] = signal_generator_lookup_type(type_str);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue