From 4ffde22bc6c4d954d57e33c209191f29e7f8f6f7 Mon Sep 17 00:00:00 2001 From: jomjol <30766535+jomjol@users.noreply.github.com> Date: Fri, 4 Nov 2022 18:06:46 +0100 Subject: [PATCH] Remove ErrorMessage --- Changelog.md | 2 +- sd-card/html/edit_config_param.html | 6 ++++-- sd-card/html/readconfigparam.js | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Changelog.md b/Changelog.md index ca68bb66..0f9d19b8 100644 --- a/Changelog.md +++ b/Changelog.md @@ -29,7 +29,7 @@ - [#1143](https://github.com/jomjol/AI-on-the-edge-device/issues/1143) changed postprocess for analog->digit (lowest digit processing) ### Removed -- n.a. +- [#1261](https://github.com/jomjol/AI-on-the-edge-device/issues/1261) removed unused parameter `ErrorMessage` diff --git a/sd-card/html/edit_config_param.html b/sd-card/html/edit_config_param.html index 26f2a5ab..61e62dcb 100644 --- a/sd-card/html/edit_config_param.html +++ b/sd-card/html/edit_config_param.html @@ -407,6 +407,7 @@ textarea { Set on "false" to ensure, that only positive changes are accepted (typically for counter) + @@ -1724,7 +1726,7 @@ function UpdateInput() { WriteParameter(param, category, "PostProcessing", "PreValueUse", true); WriteParameter(param, category, "PostProcessing", "PreValueAgeStartup", true); WriteParameter(param, category, "PostProcessing", "AllowNegativeRates", true); - WriteParameter(param, category, "PostProcessing", "ErrorMessage", true); +// WriteParameter(param, category, "PostProcessing", "ErrorMessage", true); WriteParameter(param, category, "PostProcessing", "CheckDigitIncreaseConsistency", true); WriteParameter(param, category, "MQTT", "Uri", true); @@ -1841,7 +1843,7 @@ function ReadParameterAll() ReadParameter(param, "PostProcessing", "PreValueUse", true); ReadParameter(param, "PostProcessing", "PreValueAgeStartup", true); ReadParameter(param, "PostProcessing", "AllowNegativeRates", true); - ReadParameter(param, "PostProcessing", "ErrorMessage", true); +// ReadParameter(param, "PostProcessing", "ErrorMessage", true); ReadParameter(param, "PostProcessing", "CheckDigitIncreaseConsistency", true); ReadParameter(param, "MQTT", "Uri", true); diff --git a/sd-card/html/readconfigparam.js b/sd-card/html/readconfigparam.js index 60c57ba9..f8329dc5 100644 --- a/sd-card/html/readconfigparam.js +++ b/sd-card/html/readconfigparam.js @@ -172,7 +172,7 @@ function ParseConfig() { ParamAddValue(param, catname, "MaxRateType", 1, true); ParamAddValue(param, catname, "ExtendedResolution", 1, true); ParamAddValue(param, catname, "IgnoreLeadingNaN", 1, true); - ParamAddValue(param, catname, "ErrorMessage"); +// ParamAddValue(param, catname, "ErrorMessage"); ParamAddValue(param, catname, "CheckDigitIncreaseConsistency"); var catname = "MQTT";