From 7be9084b27e3385f27f7ac5d0e946f4dcaa94d1e Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 17 Nov 2025 20:06:42 +0800
Subject: [PATCH] update lightd program and test auto light ok
---
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 9430c5a..158a3dd 100644
--- a/project/lightd/lightd.c
+++ b/project/lightd/lightd.c
@@ -178,8 +178,8 @@
sleep(hwinfo->light_intval);
- turn_light("indoor", ON);
- turn_light("hallway", ON);
+ turn_light("indoor", OFF);
+ turn_light("hallway", OFF);
}
msleep(100);
--
Gitblit v1.9.1