Skip to content
Commit b6604f16 authored by Armando Visconti's avatar Armando Visconti Committed by Benjamin Cabé
Browse files

drivers/sensor: lis3mdl: fix lis3mdl_sample_fetch API



Fix a runtime bug when both CONFIG_LIS3MDL_TRIGGER and CONFIG_ASSERT
are set. The correct assertion should verify that sensor channel is
either SENSOR_CHAN_ALL or SENSOR_CHAN_MAGN_XYZ.

Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
parent f0eb7ebc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment