Skip to content
Commit 0c6cf9a8 authored by Mikkel Jakobsen's avatar Mikkel Jakobsen Committed by Maureen Helm
Browse files

drivers: sensor: icm42605: fix arg passing bug in trigger thread



the device data struct pointer is passed to the thread function when
creating the thread, but the thread function did a int-to-pointer cast
which did not work as intended, causing exception during runtime.

now, we just pass the pointer directly without casting, which is the
pattern seen in other sensor drivers.

Signed-off-by: default avatarMikkel Jakobsen <mikkel.aunsbjerg@escolifesciences.com>
parent f502d216
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment