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

fix bug in FPGA configuration parser code

This commit is contained in:
Steffen Vogel 2017-11-21 18:04:06 +01:00
parent caebfc8492
commit 214e02f97e

View file

@ -66,7 +66,7 @@ int fpga_card_parse(struct fpga_card *c, json_t *cfg, const char *name)
c->name = strdup(name);
ret = json_unpack_ex(cfg, &err, 0, "{ s?: i, s?: b, s?: o, s?: o, s: o }"
ret = json_unpack_ex(cfg, &err, 0, "{ s?: i, s?: b, s?: o, s?: o, s: o }",
"affinity", &c->affinity,
"do_reset", &c->do_reset,
"slot", &json_slot,