Question
Does VL53L0X sample code error ?
According the official API code
in vl53l0x_api.c , comment says enter standby
but the code was set idle ?
Which one is correct ?
VL53L0X_Error VL53L0X_StaticInit(VL53L0X_DEV Dev) {
...
/* Set PAL State to standby */
if (Status == VL53L0X_ERROR_NONE)
PALDevDataSet(Dev, PalState, VL53L0X_STATE_IDLE);
...
}and the define was different
#define VL53L0X_STATE_STANDBY ((VL53L0X_State) 2)
/*!< Device is in Low power Standby mode */
#define VL53L0X_STATE_IDLE ((VL53L0X_State) 3)
/*!< Device has been initialized and ready to do measurements */
