project/lightd/lightd.c
@@ -142,8 +142,8 @@ log_info("Auto light control thread start\n"); while( ! g_signal.stop ) { /* TSL2561 update lux in every 5 minutes */ if(check_timeout(&last_time, 300)) /* TSL2561 update lux in every 10 minutes */ if(check_timeout(&last_time, 600)) { /* The TSL2561 sensor is not present, do not turn on the light */ if( !hwinfo->tsl2561 )