From 2e84abfd073ec3047c7b3295c47f109007f3bd80 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 02 Feb 2026 16:34:56 +0800
Subject: [PATCH] Update lightd code to get lux value without timeout

---
 project/modules/tsl2561.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/project/modules/tsl2561.h b/project/modules/tsl2561.h
index 540a0bd..46dfd96 100644
--- a/project/modules/tsl2561.h
+++ b/project/modules/tsl2561.h
@@ -24,7 +24,7 @@
 #ifndef  _TSL2561_H_
 #define  _TSL2561_H_
 
-#define TSL2561_I2CDEV                 "/dev/i2c-0"
+#define TSL2561_I2CDEV                 "/dev/i2c-1"
 #define TSL2561_I2CADDR                 0x39
 
 extern int tsl2561_get_lux(float *lux);

--
Gitblit v1.10.0