modified to work with MultiTech mDot on UDK2.0

Dependents:   HelloWorld_53L0A1 unh-hackathon-example unh-hackathon-example-raw

Fork of X_NUCLEO_53L0A1 by ST

Revision:
4:4e1576541eed
Parent:
0:c523920bcc09
Child:
7:35ecf3e060c3
--- a/Components/VL53L0X/vl53l0x_class.cpp	Mon Nov 28 14:52:49 2016 +0000
+++ b/Components/VL53L0X/vl53l0x_class.cpp	Mon Dec 05 11:03:50 2016 +0000
@@ -5031,7 +5031,7 @@
 } 
 
 
-int VL53L0X::ReadID()
+int VL53L0X::ReadID(uint8_t *id)
 {
     int status = 0;
     uint16_t rl_id=0;
@@ -5113,7 +5113,7 @@
    status=IsPresent();
    if(!status)
    {
-      status=Init();
+      status=Init((void *)NULL);
       if(status != VL53L0X_ERROR_NONE)
       {
            printf("Failed to init VL53L0X sensor!\n\r");