From 1efe3071c729aef7c1f3df086914a9b928647702 Mon Sep 17 00:00:00 2001 From: LostCivilization Date: Thu, 4 May 2023 22:11:33 +0800 Subject: [PATCH] =?UTF-8?q?[HUST=20CSE]=20=E5=8F=98=E9=87=8F=20tick=20?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=88=9D=E5=A7=8B=E5=8C=96=20(#7424)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/acm32/acm32f0x0-nucleo/drivers/drv_pm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsp/acm32/acm32f0x0-nucleo/drivers/drv_pm.c b/bsp/acm32/acm32f0x0-nucleo/drivers/drv_pm.c index c39190df0b..63150e4063 100644 --- a/bsp/acm32/acm32f0x0-nucleo/drivers/drv_pm.c +++ b/bsp/acm32/acm32f0x0-nucleo/drivers/drv_pm.c @@ -135,6 +135,8 @@ static rt_tick_t _pm_timer_get_tick(struct rt_pm *pm) { rt_tick_t tick; RT_ASSERT(pm != RT_NULL); + + tick = 1; return get_os_tick_from_pm_tick(tick); }