From 8d8ac376754738b12cfa8bb02994b0ecca805163 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Sat, 11 Jan 2025 15:10:02 +0800
Subject: [PATCH] Update iotd to add enable switch for publish

---
 project/iotd/hal/gpio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/project/iotd/hal/gpio.c b/project/iotd/hal/gpio.c
index b614958..01cc363 100644
--- a/project/iotd/hal/gpio.c
+++ b/project/iotd/hal/gpio.c
@@ -270,7 +270,7 @@
             {
                 if( s_gpio->input[i].active_level != gpiod_line_get_value(line) )
                 {
-                    log_debug("infrared '%s' detect get wrong power level\n", s_gpio->input[i].name);
+                    //log_debug("infrared '%s' detect get wrong power level\n", s_gpio->input[i].name);
                     continue;
                 }
 

--
Gitblit v1.9.1