mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-18 17:39:13 +08:00
[libcpu] 删除多余的RT_ASSERT判断条件
RT_TICK_PER_SECOND 会在Kconfig里有范围约束
This commit is contained in:
parent
f5f5bc96f8
commit
8d526a72b4
@ -503,8 +503,6 @@ static void start_sys_timer(void)
|
||||
struct itimerval itimer, oitimer;
|
||||
int us;
|
||||
|
||||
RT_ASSERT(RT_TICK_PER_SECOND <= 1000000 || RT_TICK_PER_SECOND >= 1);
|
||||
|
||||
us = 1000000 / RT_TICK_PER_SECOND - 1;
|
||||
|
||||
TRACE("start system tick!\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user