From e4a3dc95bdbb1371a7104fc9cf9c850bcdd3f883 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 09 Apr 2022 00:10:39 +0800
Subject: [PATCH] update appweb build.sh to fix x86_64 bug

---
 lightd/hal/tsl2561.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/lightd/hal/tsl2561.c b/lightd/hal/tsl2561.c
index 3aaf087..341eefa 100644
--- a/lightd/hal/tsl2561.c
+++ b/lightd/hal/tsl2561.c
@@ -12,8 +12,6 @@
  *                 
  ********************************************************************************/
 
-#include <wiringPi.h>
-#include <wiringPiI2C.h> 
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -187,6 +185,7 @@
 
 OUT:
     tsl2561_power(OFF);
+    return lux;
 }
 
 

--
Gitblit v1.9.1