mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fpga: fix wrong unpack string for config parsing
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
parent
f688640059
commit
b4ef71aa74
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ int FpgaNode::parse(json_t *json) {
|
|||
vfioContainer = std::make_shared<kernel::vfio::Container>();
|
||||
}
|
||||
|
||||
ret = json_unpack_ex(json, &err, 0, "{ s: o, s?: o, s?: b, s?: b, s?: f}",
|
||||
"card", &jsonCard, "connect", &jsonConnectStrings,
|
||||
ret = json_unpack_ex(json, &err, 0, "{ s: o, s?: o, s?: b, s?: f}", "card",
|
||||
&jsonCard, "connect", &jsonConnectStrings,
|
||||
"low_latency_mode", &lowLatencyMode, "timestep",
|
||||
×tep);
|
||||
if (ret) {
|
||||
|
|
Loading…
Add table
Reference in a new issue