mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 00:45:22 +08:00
[libcpu] 删除多余的RT_ASSERT判断条件
RT_TICK_PER_SECOND 会在Kconfig里有范围约束
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user