Skip to content

LIS2DH12 driver: Interrupts are disabled when sensor is set to sleep and not re-enabled on turn-on #2

@ojousima

Description

@ojousima

Setting sensor to power-down mode disables the interrupts, and interrupts are not automatically
restored on poweron.

The interrupts must also be disabled before re-enabling.

Current tests don't catch this issue.

Metadata

Metadata

Assignees

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