1
0
Fork 0
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:
Manuel Pitz 2020-08-21 20:19:03 +02:00 committed by Steffen Vogel
parent 8e883cc66d
commit 831a6824bd

View file

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