From 25ae0465d89a93d6774674e9ac0dead8517d7996 Mon Sep 17 00:00:00 2001 From: Tomek Kopczuk Date: Tue, 19 Nov 2024 23:14:24 +0100 Subject: [PATCH] Fix 'AnalogToDigitTransitionStart' always using 9.2 regardless of the configured value. After the recent parameter rename we're trying to compare the toUpper version of the config parameter against "AnalogToDigitTransitionStart" - which will always fail - hence always using the default value of 9.2. --- code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp b/code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp index db4a3778..d16e9d43 100644 --- a/code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp +++ b/code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp @@ -564,7 +564,7 @@ bool ClassFlowPostProcessing::ReadParameter(FILE* pfile, string& aktparamgraph) handleDecimalSeparator(splitted[0], splitted[1]); } - if ((toUpper(_param) == "AnalogToDigitTransitionStart") && (splitted.size() > 1)) { + if ((toUpper(_param) == "ANALOGTODIGITTRANSITIONSTART") && (splitted.size() > 1)) { handleAnalogToDigitTransitionStart(splitted[0], splitted[1]); }