diff options
| author | nobody <[email protected]> | 2023-04-30 00:42:35 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-29 12:42:35 -0400 |
| commit | 8d526a72b4973769742a311cdfb5cb4408591883 (patch) | |
| tree | 37fc3a54a3f7c3c5049178936e9fed14c43e607f /libcpu | |
| parent | f5f5bc96f817f3a26ec00b10688258fef75a1205 (diff) | |
[libcpu] 删除多余的RT_ASSERT判断条件
RT_TICK_PER_SECOND 会在Kconfig里有范围约束
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/sim/posix/cpu_port.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcpu/sim/posix/cpu_port.c b/libcpu/sim/posix/cpu_port.c index 636f82cde1..9561fe9f6c 100644 --- a/libcpu/sim/posix/cpu_port.c +++ b/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"); |
