rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

[Bug] pm.c文件中函数_pm_change_sleep_mode()调用函数rt_timer_check()存在问题

Open youzuwei opened this issue 8 months ago • 0 comments

RT-Thread Version

v5.1.0

Hardware Type/Architectures

stm32l431-BearPi

Develop Toolchain

Other

Describe the bug

原因是:函数rt_timer_check()中有断言中断嵌套变量“RT_ASSERT(rt_interrupt_get_nest() > 0)”,然而函数_pm_change_sleep_mode()并不在中断中调用

Other additional context

No response

youzuwei avatar Jun 06 '24 09:06 youzuwei