P2x #74
|
@ -659,9 +659,9 @@ void STS_TOF_VL53LX_PresenceDetection_Process_Start(void)
|
|||
status = sts_tof_vl53lx_presence_detection_start();
|
||||
if (sts_tof_presence_state ==1)
|
||||
{
|
||||
sts_lamp_bar_color = STS_RED;
|
||||
sts_lamp_bar_color = (sts_cfg_nvm.color_occupy_vacant>>4)&0x0f; //STS_RED;
|
||||
} else if (sts_tof_presence_state ==0) {
|
||||
sts_lamp_bar_color = STS_GREEN;
|
||||
sts_lamp_bar_color = (sts_cfg_nvm.color_occupy_vacant)&0x0f; //STS_GREEN;
|
||||
}
|
||||
sts_people_count_sensor_data.Count_Valid = (status ==0)? 1:0;
|
||||
//APP_LOG(TS_OFF, VLEVEL_M,"############### SUB-PROCESS running .... \r\n");
|
||||
|
|
Loading…
Reference in New Issue