Browse Source

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

RT_TICK_PER_SECOND 会在Kconfig里有范围约束
nobody 2 years ago
parent
commit
8d526a72b4
1 changed files with 0 additions and 2 deletions
  1. 0 2
      libcpu/sim/posix/cpu_port.c

+ 0 - 2
libcpu/sim/posix/cpu_port.c

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