From c87957cc22bf01c03635f23de15031f182c87bf8 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 22 Nov 2025 21:16:04 +0800
Subject: [PATCH] Add RPi#1 pin map doc

---
 project/lightd/lightd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/project/lightd/lightd.c b/project/lightd/lightd.c
index f4f9af7..4af1957 100644
--- a/project/lightd/lightd.c
+++ b/project/lightd/lightd.c
@@ -142,8 +142,8 @@
     log_info("Auto light control thread start\n");
     while( ! g_signal.stop )
     {
-        /* TSL2561 update lux in every 5 minutes  */
-        if(check_timeout(&last_time, 300))
+        /* TSL2561 update lux in every 10 minutes  */
+        if(check_timeout(&last_time, 600))
         {
             /* The TSL2561 sensor is not present, do not turn on the light */
             if( !hwinfo->tsl2561 )

--
Gitblit v1.9.1