mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
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>