Skip to content
Commit 97ccf99b authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

ti_adc108s102: fix verification off-by-one



Channel IDs start at 0, need to fail if the provided ID
equals ADC108S102_CHANNELS, not just larger than it.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent a0c3aadd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment