Merge pull request #2846 from enkiller/irq

[src][irq] 添加 WEAK 修饰,中断嵌套数可由外部提供。
This commit is contained in:
Bernard Xiong 2019-07-12 13:54:13 +08:00 committed by GitHub
commit 34fa16cb70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ RTM_EXPORT(rt_interrupt_leave);
*
* @return the number of nested interrupts.
*/
rt_uint8_t rt_interrupt_get_nest(void)
RT_WEAK rt_uint8_t rt_interrupt_get_nest(void)
{
rt_uint8_t ret;
rt_base_t level;