--- start fall state detection ALG
This commit is contained in:
parent
61b28d1e28
commit
d90d66eda8
|
@ -434,8 +434,8 @@ void STS_YunhornSTSEventP5_Process(void)
|
|||
}
|
||||
#elif defined(L8)
|
||||
//STS_TOF_VL53L8X_Process();
|
||||
//MX_TOF_Process();
|
||||
MX_TOF_Ranging_Process();
|
||||
MX_TOF_Process();
|
||||
//MX_TOF_Ranging_Process();
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
|
@ -203,7 +203,7 @@ void STS_TOF_L8_Process(void)
|
|||
|
||||
if (status == BSP_ERROR_NONE)
|
||||
{
|
||||
//print_result(&Result);
|
||||
print_result(&Result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ static void MX_53L8A1_ThresholdDetection_Process(void)
|
|||
printf("-------------------------------------------\n\r");
|
||||
printf("please put a target between %d and %d millimeters from the sensor\n\r",
|
||||
LOW_THRESHOLD, HIGH_THRESHOLD);
|
||||
#if 0
|
||||
#if 1
|
||||
//while (1)
|
||||
{
|
||||
/* interrupt mode */
|
||||
|
|
Loading…
Reference in New Issue