From 88f6121fabaa6b7b17a2d78a52ebef2ddda16104 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Sat, 23 Jan 2021 23:14:43 +0800 Subject: [PATCH] add LUX sensor tsl2561 support in lightd --- apue/2.Socket/socket_client.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/apue/2.Socket/socket_client.c b/apue/2.Socket/socket_client.c index 0d292c2..a695557 100644 --- a/apue/2.Socket/socket_client.c +++ b/apue/2.Socket/socket_client.c @@ -109,7 +109,8 @@ } } - //printf("Read %d bytes data from server: '%s'\n", rv, buf); + + sleep(5); } -- Gitblit v1.9.1