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.h
- Revision:
- 6:fa6944a8850f
- Parent:
- 5:c82a48da3c9e
- Child:
- 7:35ecf3e060c3
diff -r c82a48da3c9e -r fa6944a8850f Components/VL53L0X/vl53l0x_class.h --- a/Components/VL53L0X/vl53l0x_class.h Mon Dec 05 11:28:33 2016 +0000 +++ b/Components/VL53L0X/vl53l0x_class.h Mon Dec 05 11:38:38 2016 +0000 @@ -61,7 +61,7 @@ #define STATUS_FAIL 0x01 -#define VL53L0X_OsDelay(...) HAL_Delay(2) +#define VL53L0X_OsDelay(...) wait_ms(2) // 2 msec delay. can also use wait(float secs)/wait_us(int) #ifdef USE_EMPTY_STRING #define VL53L0X_STRING_DEVICE_INFO_NAME ""