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:
parent
caebfc8492
commit
214e02f97e
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue