Fixed STMPE1600 writeSYS_CTRL, enabled multi sensors support
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_53L0A1 by
Diff: Components/VL53L0X/vl53l0x_class.cpp
- Revision:
- 9:992abcfb7ef5
- Parent:
- 7:35ecf3e060c3
diff -r 35ecf3e060c3 -r 992abcfb7ef5 Components/VL53L0X/vl53l0x_class.cpp --- a/Components/VL53L0X/vl53l0x_class.cpp Mon Dec 05 11:50:38 2016 +0000 +++ b/Components/VL53L0X/vl53l0x_class.cpp Mon Mar 27 12:37:57 2017 +0000 @@ -5131,7 +5131,7 @@ return status; } -/* + if(NewAddr!=DEFAULT_DEVICE_ADDRESS) { status=SetDeviceAddress(NewAddr); @@ -5146,7 +5146,7 @@ printf("Invalid new address!\n\r"); return VL53L0X_ERROR_INVALID_PARAMS; } -*/ + // Device->Ready=1; } return status;