From a93228eb85186dbb4333d0f708439a964fefd88b Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Sun, 22 Dec 2024 23:35:43 +0100 Subject: [PATCH] Update code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp --- code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp b/code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp index 5d110c676..7e0ca86ea 100644 --- a/code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp +++ b/code/components/jomjol_flowcontroll/ClassFlowCNNGeneral.cpp @@ -96,7 +96,7 @@ string ClassFlowCNNGeneral::getReadout(int _analog = 0, bool _extendedResolution prev = PointerEvalHybridNew(GENERAL[_analog]->ROI[GENERAL[_analog]->ROI.size() - 1]->result_float, prev, prev); } - // is necessary because a number greater than 9.994999 returns a 10! (for further details see lines 159 to 161) + // is necessary because a number greater than 9.994999 returns a 10! (for further details see check in PointerEvalHybridNew) if ((prev >= 0) && (prev < 10)) { result = std::to_string(prev); LogFile.WriteToFile(ESP_LOG_DEBUG, TAG, "getReadout(dig100) prev=" + std::to_string(prev));