File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/components/i2c/drivers Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 19
19
#include < vl53l4cx_class.h>
20
20
#include < vl53l4cx_def.h>
21
21
22
- #define VL53_SHUTDOWN_PIN -1
23
- #define VL53_READING_DELAY 350
22
+ #define VL53_SHUTDOWN_PIN -1 // No shutdown pin
23
+ #define VL53_READING_DELAY 350 // Delay for reading data attempts
24
24
25
25
/* *************************************************************************/
26
26
/* !
@@ -179,9 +179,11 @@ class WipperSnapper_I2C_Driver_VL53L4CX : public WipperSnapper_I2C_Driver {
179
179
180
180
/* ******************************************************************************/
181
181
/* !
182
- @brief Gets the sensor_t data for the VL53L4CX sensor.
183
- @param sensor
184
- Pointer to an Adafruit_Sensor sensor_t structure.
182
+ @brief Ensures the data is available for the VL53L4CX sensor.
183
+ @param status
184
+ Pointer to the returned error status
185
+ @param NewDataReady
186
+ Pointer to the returned data ready status
185
187
*/
186
188
/* ******************************************************************************/
187
189
void awaitDataReady (int &status, uint8_t &NewDataReady) {
You can’t perform that action at this time.
0 commit comments