aboutsummaryrefslogtreecommitdiffstats
path: root/ports/MSP430
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-08-25 13:00:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-08-25 13:00:11 +0000
commitb689f00e31591e2f3b5b3607b15be428dfeb7e88 (patch)
tree20ee57099be6cfcead74274f9ca49551dc26341f /ports/MSP430
parent5d40605546682121c1220d8e676d4d9bc760b785 (diff)
downloadChibiOS-b689f00e31591e2f3b5b3607b15be428dfeb7e88.tar.gz
ChibiOS-b689f00e31591e2f3b5b3607b15be428dfeb7e88.tar.bz2
ChibiOS-b689f00e31591e2f3b5b3607b15be428dfeb7e88.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@401 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/MSP430')
-rw-r--r--ports/MSP430/chcore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h
index 3a9d587b8..0d07204d2 100644
--- a/ports/MSP430/chcore.h
+++ b/ports/MSP430/chcore.h
@@ -81,10 +81,11 @@ typedef struct {
#define chSysLock() asm volatile ("dint")
#define chSysUnlock() asm volatile ("eint")
+#define chSysEnable() asm volatile ("eint")
#define chSysIRQEnterI()
#define chSysIRQExitI() { \
- if (chSchRescRequiredI()) \
+ if (chSchRescRequiredI()) \
chSchDoRescheduleI(); \
}