Skip to content
Commit 0514c3b1 authored by Maureen Helm's avatar Maureen Helm Committed by Fabio Baltieri
Browse files

drivers: sensor: Fix apds9960 device pointer initialization



Fixes a bus fault observed in samples/boards/reel_board/mesh_badge
caused by dereferencing an uninitialized device pointer in the apds9960
sensor driver. The device pointer needs to be initialized regardless of
how CONFIG_APDS9960_TRIGGER is configured.

Signed-off-by: default avatarMaureen Helm <maureen.helm@intel.com>
parent e5de3ac6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment