commit | f831929cb5c1f8e6f601dd0454216a2f9f026602 | [log] [tgz] |
---|---|---|
author | Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> | Thu Nov 07 19:32:34 2019 +0100 |
committer | Andrew Boie <andrewboie@gmail.com> | Fri Nov 08 16:03:05 2019 -0800 |
tree | a92b75228ce37fa03a619ed44f2f96f399575c15 | |
parent | 94f742e4c44a2c23925f04247343588666843b46 [diff] |
kernel: Add assert to detect negative timeouts Add assert when negative (except K_FOREVER) is passed as timeout. Add negative timeout correction to 0. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>