对接了rthw.h的接口,修复了不能编译的问题 (#6722)

This commit is contained in:
linshire 2022-12-10 23:04:26 +08:00 committed by GitHub
parent e991be9c51
commit 8f9198eb99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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); * void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to);
* #endif * #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) if (rt_thread_switch_interrupt_flag == 0)
rt_interrupt_from_thread = from; rt_interrupt_from_thread = from;