Skip to content
Commit 0e532933 authored by Peter Bigot's avatar Peter Bigot Committed by Kumar Gala
Browse files

scripts/coccinelle: add conversion of integers to timeout values



Some legacy code still passes integer literals in milliseconds as the
value to functions that take a timeout.  This usage interferes with
plans to replace the millisecond representation with a more generic
k_timeout_t value.  Add a Coccinelle script to convert call sites to
use the proper constants and macros.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent a7788688
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment