The VL53L1CB proximity sensor, based on ST’s FlightSense™, Time-of-Flight technology.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: VL53L1CB_noshield_1sensor_polls_auton VL53L1CB_noshield_1sensor_interrupt_auton X_NUCLEO_53L1A2
Based on VL53L1 library, this is a library for the VL53L1CB ToF chip.
Diff: src/vl53l1_wait.c
- Revision:
- 8:c07c8a53bfbd
- Parent:
- 7:1add29d51e72
- Child:
- 18:0696efe39d08
--- a/src/vl53l1_wait.c Tue Jun 08 10:34:47 2021 +0100 +++ b/src/vl53l1_wait.c Tue Jun 08 13:25:15 2021 +0100 @@ -390,7 +390,7 @@ - VL53L1_GetTickCount(Dev, &start_time_ms); + VL53L1_GetTickCount(&start_time_ms); pdev->fw_ready_poll_duration_ms = 0; @@ -412,7 +412,7 @@ } - VL53L1_GetTickCount(Dev, ¤t_time_ms); + VL53L1_GetTickCount(¤t_time_ms); pdev->fw_ready_poll_duration_ms = current_time_ms - start_time_ms; }