Skip to content

exit VL53L1X_SensorInit() after timeout if no sensor / sensor doesn't work #29

@zwerfl

Description

@zwerfl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions