Condensed Version of Public VL53L0X

Dependents:   ToF-Only-Tryout

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);