From 1ec15a135e4cd744d24ae273265af5964b7918a1 Mon Sep 17 00:00:00 2001 From: Torsten Sommer Date: Tue, 26 Mar 2024 14:08:45 +0100 Subject: [PATCH] Add input2 to getInt32() in Clocks (#463) fixes #460 --- Clocks/model.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Clocks/model.c b/Clocks/model.c index ff80c6f6..7eeef370 100644 --- a/Clocks/model.c +++ b/Clocks/model.c @@ -197,6 +197,9 @@ Status getInt32(ModelInstance* comp, ValueReference vr, int32_t values[], size_t case vr_result2: values[(*index)++] = M(result2); return OK; + case vr_input2: + values[(*index)++] = M(input2); + return OK; case vr_output3: values[(*index)++] = M(output3); return OK;