Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of X_NUCLEO_53L0A1 by
Revision 6:fa6944a8850f, committed 2016-12-05
- Comitter:
- johnAlexander
- Date:
- Mon Dec 05 11:38:38 2016 +0000
- Parent:
- 5:c82a48da3c9e
- Child:
- 7:35ecf3e060c3
- Commit message:
- Replace STM32 HAL lib delay with equivalent mbed one, for cross-proc compatability.
Changed in this revision
| Components/VL53L0X/vl53l0x_class.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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 ""
