Skip to content

Commit 31a0a4f

Browse files
committed
[add]tick long long unit
1 parent 9cd44c4 commit 31a0a4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/rttypes.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ typedef rt_ubase_t rt_intptr_t; /**< Type for signed poi
8181
typedef rt_base_t rt_uintptr_t; /**< Type for unsigned pointer length integer */
8282
#endif /* defined(RT_USING_LIBC) && !defined(RT_USING_NANO) */
8383

84-
#ifdef RT_TICK_LL_UNIT
84+
#ifdef RT_USING_TICK_LL_UNIT
8585
typedef rt_uint64_t rt_tick_t; /**< Type for tick count */
8686
#else
8787
typedef rt_uint32_t rt_tick_t; /**< Type for tick count */

src/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ config RT_TICK_PER_SECOND
116116
help
117117
System's tick frequency, Hz.
118118

119-
config RT_TICK_LL_UNIT
119+
config RT_USING_TICK_LL_UNIT
120120
bool "Using long long as tick unit"
121121
default n
122122
help

0 commit comments

Comments
 (0)