mirror of
https://github.com/m5stack/zephyr.git
synced 2026-05-20 10:57:03 -07:00
5f63fff9c2
linear_range_get_win_index does not behave correctly when the window of values is above the linear range. It reports -ERANGE (partial intersection) instead of -EINVAL. Extra conditions added for edge cases and tests cases updated. Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>