mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 17:12:01 +08:00
fixed spelling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2175 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -504,7 +504,6 @@ typedef struct rt_event *rt_event_t;
|
||||
#ifdef RT_USING_MAILBOX
|
||||
/**
|
||||
* mailbox structure
|
||||
*
|
||||
*/
|
||||
struct rt_mailbox
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ void rt_interrupt_enter(void)
|
||||
{
|
||||
rt_base_t level;
|
||||
|
||||
RT_DEBUG_LOG(RT_DEBUG_IRQ, ("irq comming..., irq nest:%d\n", rt_interrupt_nest));
|
||||
RT_DEBUG_LOG(RT_DEBUG_IRQ, ("irq coming..., irq nest:%d\n", rt_interrupt_nest));
|
||||
|
||||
level = rt_hw_interrupt_disable();
|
||||
rt_interrupt_nest ++;
|
||||
@@ -65,7 +65,7 @@ void rt_interrupt_leave(void)
|
||||
/**
|
||||
* This function will return the nest of interrupt.
|
||||
*
|
||||
* User application can invoke this function to get whenther current
|
||||
* User application can invoke this function to get whether current
|
||||
* context is interrupt context.
|
||||
*
|
||||
* @return the number of nested interrupts.
|
||||
|
||||
Reference in New Issue
Block a user