Skip to content
Commit c56851a5 authored by Markus Brüx's avatar Markus Brüx Committed by Anas Nashif
Browse files

drivers: sensor: lis2dh: Allow power-down mode



Remove check if frequency is equal to zero. A value of `ODR = 0` is
explicitly allowed by manufacturer / datasheet.
This has prevented applications from using the lis2dh power-down-mode,
which is set via `ODR = 0`.

For reference see "Table 28. Data rate configuration" in datasheet p.33.

Fixes #35486.

Signed-off-by: default avatarMarkus Brüx <markus.bruex@grandcentrix.net>
parent aef64fcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment