aboutsummaryrefslogtreecommitdiffstats
path: root/ports/AVR
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/AVR
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/AVR')
-rw-r--r--ports/AVR/chcore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h
index cb2920a2d..fe0f13e1f 100644
--- a/ports/AVR/chcore.h
+++ b/ports/AVR/chcore.h
@@ -108,6 +108,8 @@ typedef struct {
#define chSysUnlock() asm volatile ("sei")
+#define chSysEnable() asm volatile ("sei")
+
#define chSysIRQEnterI() \
asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \
"r25", "r26", "r27", "r30", "r31");