Skip to content
Commit c269692b authored by Trent Piepho's avatar Trent Piepho Committed by Marti Bolivar
Browse files

drivers/sensor: lsm6dso: Remove LE to CPU conversions



In ST HAL v2.00, the functions to get the raw sensors values, e.g.
lsm6dso_acceleration_raw_get(), convert from little-endian to CPU.

Previous versions of ST HAL didn't do this.

The conversion here in the driver is converting a second time.  It's not
an issue on a LE system, the conversion is a no-op, but on a BE system
it would be broken.

Signed-off-by: default avatarTrent Piepho <trent.piepho@igorinstitute.com>
parent d6112842
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment