From 18d0742b8441274350f09325ed35bcff215d127f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=BE=E9=98=B3=E7=86=A0?= Date: Mon, 4 Aug 2025 12:17:07 +0000 Subject: [PATCH] =?UTF-8?q?update=20services/param/trigger/trigger=5Fcheck?= =?UTF-8?q?er.c.=20Signed-off-by:=20=E4=B9=BE=E9=98=B3=E7=86=A0=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 乾阳熠 --- services/param/trigger/trigger_checker.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/param/trigger/trigger_checker.c b/services/param/trigger/trigger_checker.c index 42e7c2d0b..6b6f36573 100644 --- a/services/param/trigger/trigger_checker.c +++ b/services/param/trigger/trigger_checker.c @@ -185,9 +185,7 @@ static int ComputeSubCondition(const LogicCalculator *calculator, LogicData *dat strlen(calculator->conditionName) + 1, calculator->conditionContent, SUPPORT_DATA_BUFFER_MAX); PARAM_CHECK(ret == 0, return -1, "Failed parse content value"); // check name - if ((calculator->inputName != NULL) && (strcmp(calculator->conditionName, calculator->inputName) == 0)) { - return CompareValue(calculator->conditionContent, calculator->inputContent); - } else if (strlen(calculator->conditionName) > 0) { + if (strlen(calculator->conditionName) > 0) { uint32_t len = SUPPORT_DATA_BUFFER_MAX; ret = SystemReadParam(calculator->conditionName, calculator->readContent, &len); if (ret != 0) { -- Gitee