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

uldaq: another fix when parsing input range

This commit is contained in:
Steffen Vogel 2018-09-25 13:02:51 +02:00
parent ec33de7fa5
commit 793e2b1d89

View file

@ -229,8 +229,8 @@ int uldaq_parse(struct node *n, json_t *cfg)
int channel = -1, input_mode, range;
ret = json_unpack_ex(json_signal, &err, 0, "{ s?: s, s?: s, s?: i }",
"range", &range,
"input_mode", &input_mode,
"range", &range_str,
"input_mode", &input_mode_str,
"channel", &channel
);
if (ret)