diff --git a/include/sys/time_units.h b/include/sys/time_units.h index 0963a6ba427..f719230ed29 100644 --- a/include/sys/time_units.h +++ b/include/sys/time_units.h @@ -20,6 +20,12 @@ extern "C" { */ #define SYS_FOREVER_MS (-1) +/** @brief System-wide macro to denote "forever" in microseconds + * + * See @ref SYS_FOREVER_MS. + */ +#define SYS_FOREVER_US (-1) + /** @brief System-wide macro to convert milliseconds to kernel timeouts */ #define SYS_TIMEOUT_MS(ms) ((ms) == SYS_FOREVER_MS ? K_FOREVER : K_MSEC(ms))