reduce delay time from 5ms to 1 ms in range process

This commit is contained in:
Yunhorn 2024-03-01 12:10:16 +08:00
parent 29927044aa
commit a244b760a1
1 changed files with 1 additions and 1 deletions

View File

@ -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) {