Skip to content

Commit

Permalink
[add]tick long long unit
Browse files Browse the repository at this point in the history
  • Loading branch information
CYFS3 committed Oct 1, 2024
1 parent 9cd44c4 commit 31a0a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/rttypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion src/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31a0a4f

Please sign in to comment.