From b689f00e31591e2f3b5b3607b15be428dfeb7e88 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 25 Aug 2008 13:00:11 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@401 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ports/AVR/chcore.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ports/AVR') 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"); -- cgit v1.2.3