guowenxue
2021-04-22 2db120f65b048e309e232d454b732a92eb1688f9
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);
    }
}