include: sys: Fix SYS_TIMEOUT_MS macro definition

Fix SYS_TIMEOUT_MS macro not compiling.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2020-04-29 18:30:00 +02:00 committed by Johan Hedberg
commit 666c0f8f60

View file

@ -22,7 +22,7 @@ extern "C" {
/** @brief System-wide macro to convert milliseconds to kernel timeouts
*/
#define SYS_TIMEOUT_MS (ms) ((ms) == SYS_FOREVER_MS ? K_FOREVER : K_MSEC(ms))
#define SYS_TIMEOUT_MS(ms) ((ms) == SYS_FOREVER_MS ? K_FOREVER : K_MSEC(ms))
/* Exhaustively enumerated, highly optimized time unit conversion API */