exit VL53L1X_SensorInit() after timeout if no sensor / sensor doesn't work
zwerfl opened this issue · comments
if there is no sensor connected the initialisation gets stuck in the while-loop inside of VL53L1X_ERROR VL53L1X::VL53L1X_SensorInit();
proposal is to add a timeout, so that the init() function returns to the calling program with a defined error code after a second or so
Added feature in v1.2.3, thanks @zwerfl
@ AndyEngland521: thanks for considering, and more important: many thanks for developing and providing this great lib!!!