From 8d526a72b4973769742a311cdfb5cb4408591883 Mon Sep 17 00:00:00 2001 From: nobody Date: Sun, 30 Apr 2023 00:42:35 +0800 Subject: [PATCH] =?UTF-8?q?[libcpu]=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84RT=5FASSERT=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RT_TICK_PER_SECOND 会在Kconfig里有范围约束 --- libcpu/sim/posix/cpu_port.c | 2 -- 1 file changed, 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");