rm48x50: rt_interrupt_nest should be `volatile rt_uint8_t`

This commit is contained in:
Grissiom 2013-06-12 23:56:10 +08:00
parent 2df7fc310f
commit 009239ceed
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
/* exception and interrupt handler table */
struct rt_irq_desc irq_desc[MAX_HANDLERS];
extern rt_uint32_t rt_interrupt_nest;
extern volatile rt_uint8_t rt_interrupt_nest;
/* exception and interrupt handler table */
rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;