Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of VL53L0X by
Diff: VL53L0X.h
- Revision:
- 2:d07edeaff6f1
- Parent:
- 1:834986cdde0a
- Child:
- 4:d25c4fa216af
--- a/VL53L0X.h Wed Oct 04 13:21:38 2017 +0000
+++ b/VL53L0X.h Fri Oct 13 15:31:04 2017 +0000
@@ -355,9 +355,9 @@
*_gpio0 = 1;
} else {
if (_expgpio0) {
- *_expgpio0 = 1;
- }
- }
+ *_expgpio0 = 1;
+ }
+ }
wait_ms(10);
}
@@ -372,12 +372,12 @@
*_gpio0 = 0;
} else {
if (_expgpio0) {
- *_expgpio0 = 0;
- }
- }
+ *_expgpio0 = 0;
+ }
+ }
wait_ms(10);
}
-
+
/**
* @brief Initialize the sensor with default values
@@ -1941,8 +1941,8 @@
VL53L0X_Error VL53L0X_check_part_used(VL53L0X_DEV dev,
uint8_t *revision,
VL53L0X_DeviceInfo_t *p_VL53L0X_device_info);
-
- /* Read function of the ID device */
+
+ /* Read function of the ID device */
// virtual int read_id();
virtual int read_id(uint8_t *id);
