Skip to content
Commit 3cd429f0 authored by Armando Visconti's avatar Armando Visconti Committed by Anas Nashif
Browse files

drivers/sensor: lis2dux12: fix mode when setting odr



In lis2dux12_set_odr(), the call to stmemsc module lis2dux12_mode_set()
API is done with the .fs field left uninitialized, so setting the
underlying device regs in an unproper way.

Suggested-by: default avatarLuis Ubieda <luisf@croxel.com>
Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
(cherry picked from commit 8bc00e14)
parent b8010bf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment