Skip to content
Commit 9b1e05b0 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Benjamin Cabé
Browse files

drivers: sensor: tsl2540: fix channel validation logic in attr_set



Use && instead of & in channel validation logic to ensure channel is
either CHAN_IR or CHAN_LIGHT.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent a00c9013
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment