1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

signal: use 'float' as default signal type

This commit is contained in:
Steffen Vogel 2020-08-17 12:51:30 +02:00
parent 313470e530
commit d7f89fdb29

View file

@ -182,7 +182,7 @@ int signal_parse(struct signal *s, json_t *cfg)
json_t *json_init = nullptr;
const char *name = nullptr;
const char *unit = nullptr;
const char *type = nullptr;
const char *type = "float";
ret = json_unpack_ex(cfg, &err, 0, "{ s?: s, s?: s, s?: s, s?: o, s?: b }",
"name", &name,