This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 048ef54c553c02bd368891c8e0e211d001b1705d Author: ouyangxiangzhen <[email protected]> AuthorDate: Thu Jan 22 11:17:08 2026 +0800 include/clock: Remove the inclusion of the macro.h. Since the macro.h may confilict with the user definition, we should avoid including the macro.h in clock.h. Signed-off-by: ouyangxiangzhen <[email protected]> --- include/nuttx/clock.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/nuttx/clock.h b/include/nuttx/clock.h index a79f5430f5a..9dbf64dbd3b 100644 --- a/include/nuttx/clock.h +++ b/include/nuttx/clock.h @@ -37,7 +37,6 @@ #include <nuttx/compiler.h> #include <nuttx/lib/math32.h> -#include <nuttx/macro.h> /**************************************************************************** * Pre-processor Definitions @@ -160,7 +159,7 @@ */ #ifdef CONFIG_USEC_PER_TICK -# define USEC_PER_TICK CONCATENATE(CONFIG_USEC_PER_TICK, L) +# define USEC_PER_TICK (0L + CONFIG_USEC_PER_TICK) #else # define USEC_PER_TICK (10000L) #endif
