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:
parent
bf9f08016a
commit
666c0f8f60
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue