From 2db120f65b048e309e232d454b732a92eb1688f9 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Thu, 22 Apr 2021 02:13:06 +0800
Subject: [PATCH] update infrared.c

---
 iotd/main.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/iotd/main.c b/iotd/main.c
index cbc0d85..54619b8 100644
--- a/iotd/main.c
+++ b/iotd/main.c
@@ -194,14 +194,12 @@
             }
         }
 
-#if 0
         log_nrml("start infrared monitor detect...\n");
         if( infrared_detect() ) 
         {
             log_nrml("Someone incoming detected by infrared\n");
-            log_nrml("Lux[%.3f] < Treshold[%.3f], auto light on now..\n", lux, hal_ctx->lux_threshold);
         }
-#endif
+
         sleep(1);
     }
 }

--
Gitblit v1.9.1