From 3323051661f1703d849c4355a52aef11b5a2b19c Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Mon, 09 Aug 2021 00:49:08 +0800 Subject: [PATCH] update appweb build shell script, remove source code packet --- lightd/hal/hal.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/lightd/hal/hal.c b/lightd/hal/hal.c index 25ac288..e7cb1d8 100644 --- a/lightd/hal/hal.c +++ b/lightd/hal/hal.c @@ -63,6 +63,13 @@ { s_infrared_lines = gpiod_chip_get_line(s_chip, ctx->infrared_pin); gpiod_line_request_rising_edge_events(s_infrared_lines, "infrared"); + log_err("infrared GPIO input lines request for rising edge event ok\n"); + } + + if( tsl2561_init()< 0 ) + { + log_err("LUX sensor TSL2561 initialise failure\n"); + return -2; } -- Gitblit v1.9.1