reduce delay time from 5ms to 1 ms in range process
This commit is contained in:
parent
29927044aa
commit
a244b760a1
|
@ -414,7 +414,7 @@ void STS_TOF_VL53L0X_Range_Process(void)
|
|||
sts_tof_distance_data[i] = (RangingMeasurementData.RangeStatus!=0)?STS_MAX_L0_RANGE:VL53L0XDevs[i].LeakyRange;
|
||||
}
|
||||
|
||||
HAL_Delay(5);
|
||||
HAL_Delay(1);
|
||||
} // for i < MAX_TOF_COUNT
|
||||
|
||||
if (sensor_data_ready != 0) {
|
||||
|
|
Loading…
Reference in New Issue