Skip to content
Commit 1ebb7089 authored by Armando Visconti's avatar Armando Visconti Committed by Johan Hedberg
Browse files

driver/sensors: lis2dh: Fix I2C and SPI bus communication



Add I2C and SPI bus communication routines in separate files,
and register one or the other as read/write callbacks based
on bus selection in DTS.

This commit is fixing issue #22348 as well, as the SPI part
is handling in the proper way the CS GPIO part.

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