Skip to content
Commit c58c130b authored by Ryan McClelland's avatar Ryan McClelland Committed by Mahesh Mahadevan
Browse files

drivers: sensor: default_rtio_sensor: fix limited range warning



`chan_type` is defined as a `uint16_t`. This makes checking if it is
< 0 always false. A warning is shown with -Wtype-limits. Remove the
check as it is unnecessary.

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