From 8f9198eb99b1f1a2218f04a3c4695e868e8c3e73 Mon Sep 17 00:00:00 2001 From: linshire <89723088+linshire@users.noreply.github.com> Date: Sat, 10 Dec 2022 23:04:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E4=BA=86rthw.h=E7=9A=84?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=8C=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E7=BC=96=E8=AF=91=E7=9A=84=E9=97=AE=E9=A2=98=20(#6722?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/risc-v/ch32v3/cpuport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpu/risc-v/ch32v3/cpuport.c b/libcpu/risc-v/ch32v3/cpuport.c index 90ff958121..b36e731554 100644 --- a/libcpu/risc-v/ch32v3/cpuport.c +++ b/libcpu/risc-v/ch32v3/cpuport.c @@ -172,7 +172,7 @@ void rt_hw_interrupt_enable(rt_base_t level) * void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to); * #endif */ -void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to) +void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread, rt_thread_t to_thread) { if (rt_thread_switch_interrupt_flag == 0) rt_interrupt_from_thread = from; -- GitLab