[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;
|
struct itimerval itimer, oitimer;
|
||||||
int us;
|
int us;
|
||||||
|
|
||||||
RT_ASSERT(RT_TICK_PER_SECOND <= 1000000 || RT_TICK_PER_SECOND >= 1);
|
|
||||||
|
|
||||||
us = 1000000 / RT_TICK_PER_SECOND - 1;
|
us = 1000000 / RT_TICK_PER_SECOND - 1;
|
||||||
|
|
||||||
TRACE("start system tick!\n");
|
TRACE("start system tick!\n");
|
||||||
|
|
Loading…
Reference in New Issue