From b4ef71aa74218b1a2ad90d9bb76ea307fbf59153 Mon Sep 17 00:00:00 2001 From: Niklas Eiling Date: Wed, 5 Jun 2024 17:34:56 +0200 Subject: [PATCH] fpga: fix wrong unpack string for config parsing Signed-off-by: Niklas Eiling --- lib/nodes/fpga.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nodes/fpga.cpp b/lib/nodes/fpga.cpp index 106d9b2a5..f4acd4ec6 100644 --- a/lib/nodes/fpga.cpp +++ b/lib/nodes/fpga.cpp @@ -118,8 +118,8 @@ int FpgaNode::parse(json_t *json) { vfioContainer = std::make_shared(); } - 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) {