mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 19:46:54 +03:00
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.
This commit is contained in:
@@ -564,7 +564,7 @@ bool ClassFlowPostProcessing::ReadParameter(FILE* pfile, string& aktparamgraph)
|
|||||||
handleDecimalSeparator(splitted[0], splitted[1]);
|
handleDecimalSeparator(splitted[0], splitted[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((toUpper(_param) == "AnalogToDigitTransitionStart") && (splitted.size() > 1)) {
|
if ((toUpper(_param) == "ANALOGTODIGITTRANSITIONSTART") && (splitted.size() > 1)) {
|
||||||
handleAnalogToDigitTransitionStart(splitted[0], splitted[1]);
|
handleAnalogToDigitTransitionStart(splitted[0], splitted[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user