diff --git a/include/rttypes.h b/include/rttypes.h index 01ece19bd95..fdea981fda3 100644 --- a/include/rttypes.h +++ b/include/rttypes.h @@ -81,7 +81,7 @@ typedef rt_ubase_t rt_intptr_t; /**< Type for signed poi typedef rt_base_t rt_uintptr_t; /**< Type for unsigned pointer length integer */ #endif /* defined(RT_USING_LIBC) && !defined(RT_USING_NANO) */ -#ifdef RT_TICK_LL_UNIT +#ifdef RT_USING_TICK_LL_UNIT typedef rt_uint64_t rt_tick_t; /**< Type for tick count */ #else typedef rt_uint32_t rt_tick_t; /**< Type for tick count */ diff --git a/src/Kconfig b/src/Kconfig index d8e03606e49..0375a571be0 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -116,7 +116,7 @@ config RT_TICK_PER_SECOND help System's tick frequency, Hz. -config RT_TICK_LL_UNIT +config RT_USING_TICK_LL_UNIT bool "Using long long as tick unit" default n help