1
0
Fork 0
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:
Niklas Eiling 2024-06-05 17:34:56 +02:00 committed by pipeacosta
parent f688640059
commit b4ef71aa74

View file

@ -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",
&timestep);
if (ret) {