Skip to content
Commit 8f0ffbbb authored by Ryan McClelland's avatar Ryan McClelland Committed by Benjamin Cabé
Browse files

drivers: sensor: st: replace i2/3c_burst_write



i2/3c_burst_write comes with a warning where this combined write
synthesized by thsi API may not be supported by all I2/3C
devices. Replace with i2c_write instead with a buffer combining
the address and data.

The Kconfig STMEMSC_I2C_WRITE_BUFFER_SIZE was added to set the
size of the buffer pushed to the stack.

Signed-off-by: default avatarRyan McClelland <ryanmcclelland@meta.com>
parent 8f83ffc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment