jomjol 4 лет назад
Родитель
Сommit
71871016d2

+ 1 - 1
README.md

@@ -55,7 +55,7 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
 
 ##### 10.5.1 - Stability Increase (2022-02-20)
 
-- **NEW 10.5.1:** Bug Fix: wrong return value & PreValue status, HTML: SSID & IP were not displayed 
+- **NEW 10.5.1:** Bug Fix: wrong return value, rate value & PreValue status, HTML: SSID & IP were not displayed 
 - MQTT: changed wifi naming to "wifiRSSI"
 - HTML: check select able values for consistency
 - Refactoring of check postprocessing consistency (e.g. max rate, negative rate, ...)

+ 3 - 1
code/components/jomjol_flowcontroll/ClassFlowPostProcessing.cpp

@@ -605,6 +605,7 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
     for (int j = 0; j < NUMBERS.size(); ++j)
     {
         NUMBERS[j]->ReturnRawValue = "";
+        NUMBERS[j]->ReturnRateValue = "";
         NUMBERS[j]->ReturnValue = "";
         NUMBERS[j]->ErrorMessageText = "";
         NUMBERS[j]->Value = -1;
@@ -670,8 +671,9 @@ bool ClassFlowPostProcessing::doFlow(string zwtime)
         double difference = difftime(imagetime, NUMBERS[j]->lastvalue);      // in Sekunden
         difference /= 60;  
         NUMBERS[j]->FlowRateAct = (NUMBERS[j]->Value - NUMBERS[j]->PreValue) / difference;
+        NUMBERS[j]->ReturnRateValue =  to_string(NUMBERS[j]->FlowRateAct);
 
-        if (NUMBERS[j]->useMaxRateValue)
+        if (NUMBERS[j]->useMaxRateValue && PreValueUse && NUMBERS[j]->PreValueOkay)
         {
             float _ratedifference;                                                   
             if (NUMBERS[j]->RateType == RateChange)

+ 3 - 3
code/main/version.cpp

@@ -1,4 +1,4 @@
-const char* GIT_REV="cbe884a";
-const char* GIT_TAG="v10.5.0";
+const char* GIT_REV="c07ef23";
+const char* GIT_TAG="";
 const char* GIT_BRANCH="master";
-const char* BUILD_TIME="2022-02-20 16:02";
+const char* BUILD_TIME="2022-02-20 16:21";

+ 3 - 3
code/version.cpp

@@ -1,4 +1,4 @@
-const char* GIT_REV="cbe884a";
-const char* GIT_TAG="v10.5.0";
+const char* GIT_REV="c07ef23";
+const char* GIT_TAG="";
 const char* GIT_BRANCH="master";
-const char* BUILD_TIME="2022-02-20 16:01";
+const char* BUILD_TIME="2022-02-20 16:21";

BIN
firmware/bootloader.bin


BIN
firmware/firmware.bin