guowenxue
2021-04-21 eeb821fa6846e84c9fe3e80d58f41b7a5a418e70
iotd/main.c
@@ -194,14 +194,12 @@
            }
        }
#if 0
        log_nrml("start infrared monitor detect...\n");
        if( infrared_detect() ) 
        {
            log_nrml("Someone incoming detected by infrared\n");
            log_nrml("Lux[%.3f] < Treshold[%.3f], auto light on now..\n", lux, hal_ctx->lux_threshold);
        }
#endif
        sleep(1);
    }
}