From eeb821fa6846e84c9fe3e80d58f41b7a5a418e70 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 21 Apr 2021 22:27:56 +0800
Subject: [PATCH] update hal.x

---
 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