Skip to content

Configuration Deleting while bme68x_selftest_check #28

@bibinalias

Description

@bibinalias

The bme68x_selftest_check() API reconfigures most of the configuration registers inside the sensor during the self-test procedure. However, it does not reload the previous register values after completing the self-test.
According to the documentation, the bme68x_init() function is described as the entry point that must be called before using other APIs.
Currently, if bme68x_selftest_check() is called after initialization, it internally calls bme68x_init() again, which overwrites all previously configured settings.
This results in the loss of user-configured parameters after running the self-test.

Impact:

Sensor configuration is unintentionally reset after performing the self-test.

Users must manually reconfigure all settings after calling bme68x_selftest_check().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions