Thundersoft / Mbed OS VL6180XA1_for_TT_Mxx
Revision:
2:8343c9a07b66
Parent:
1:46408c6b6d96
--- a/VL6180XA1/VL6180X/VL6180X.cpp	Fri Mar 22 05:59:20 2019 +0000
+++ b/VL6180XA1/VL6180X/VL6180X.cpp	Mon Mar 25 06:02:16 2019 +0000
@@ -19,8 +19,8 @@
   , ptp_offset(0)
   , io_timeout(0) // no timeout
   , did_timeout(false) 
-  , i2c(_i2c)
 {
+  i2c = _i2c;
   //configureDefault();
 }