Skip to content

Commit

Permalink
Merge branch 'master' into rolling
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 committed Dec 18, 2022
2 parents 0d48c52 + 55f78dc commit da06ebd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,9 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
NUMBERS[j]->ReturnValue = "";
NUMBERS[j]->ErrorMessageText = "";
NUMBERS[j]->Value = -1;
/* TODO to be discussed, see https://github.com/jomjol/AI-on-the-edge-device/issues/1617 */
// NUMBERS[j]->lastvalue = imagetime; // must only be set in case of good value !!! --> move to the end
NUMBERS[j]->lastvalue = imagetime;

UpdateNachkommaDecimalShift();

Expand Down Expand Up @@ -764,6 +766,7 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
{
string _zw = NUMBERS[j]->name + ": Raw: " + NUMBERS[j]->ReturnRawValue + ", Value: " + NUMBERS[j]->ReturnValue + ", Status: " + NUMBERS[j]->ErrorMessageText;
LogFile.WriteToFile(ESP_LOG_INFO, TAG, _zw);
/* TODO to be discussed, see https://github.com/jomjol/AI-on-the-edge-device/issues/1617 */
NUMBERS[j]->lastvalue = imagetime;

WriteDataLog(j);
Expand Down

0 comments on commit da06ebd

Please sign in to comment.