summaryrefslogtreecommitdiff
path: root/src/irq.c
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-03-08 23:09:40 +0000
committerbernard.xiong <[email protected]>2010-03-08 23:09:40 +0000
commit5e82a9a02205e053c281ac19b93ed896d2c88a5c (patch)
tree1a997e0963d20943864f278983881d7871f22ee0 /src/irq.c
parent1c9c3bf175bf949014f3815c4eeb99d17c967c5f (diff)
remove rt_passed_second in clock; init device driver when driver has been opened if it is not in activate status; change interrupt nest count to rt_uint8_t; add rt_console_set_device function in kservice.c (rt_kprintf function can use device right now)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@464 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/irq.c')
-rw-r--r--src/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irq.c b/src/irq.c
index 3edde2f7bf..4effde32a0 100644
--- a/src/irq.c
+++ b/src/irq.c
@@ -24,7 +24,7 @@
/*@{*/
-volatile rt_uint32_t rt_interrupt_nest;
+volatile rt_uint8_t rt_interrupt_nest;
/**
* This function will be invoked by BSP, when enter interrupt service routine