INSAT Mini Project

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Fork of X_NUCLEO_6180XA1 by ST

Files at this revision

API Documentation at this revision

Comitter:
gallonm
Date:
Tue Oct 06 09:43:25 2015 +0200
Parent:
10:4954b09b72d8
Child:
12:71d589e6fd2c
Commit message:
Update vl6180x_class.h (SetI2cAddress function)

Changed in this revision

Components/VL6180X/vl6180x_class.h Show annotated file Show diff for this revision Revisions of this file
--- a/Components/VL6180X/vl6180x_class.h	Tue Oct 06 09:03:10 2015 +0200
+++ b/Components/VL6180X/vl6180x_class.h	Tue Oct 06 09:43:25 2015 +0200
@@ -162,7 +162,7 @@
 			
 			 status=VL6180x_SetI2CAddress(Device, NewAddr);
 			 if(!status)
-				  Device->I2cAddr;
+				  Device->I2cAddr=NewAddr;
 			 return status;
 		}