[libcpu] 删除多余的RT_ASSERT判断条件

RT_TICK_PER_SECOND 会在Kconfig里有范围约束
This commit is contained in:
nobody 2023-04-30 00:42:35 +08:00 committed by GitHub
parent f5f5bc96f8
commit 8d526a72b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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");